diff --git a/bitcoin/src/blockdata/script/owned.rs b/bitcoin/src/blockdata/script/owned.rs index ccc82ca89..8b8b73e38 100644 --- a/bitcoin/src/blockdata/script/owned.rs +++ b/bitcoin/src/blockdata/script/owned.rs @@ -203,7 +203,7 @@ impl<'a> Extend> for ScriptBuf { /// Pretends that this is a mutable reference to [`ScriptBuf`]'s internal buffer. /// /// In reality the backing `Vec` is swapped with an empty one and this is holding both the -/// reference and the vec. The vec is put back when this drops so it also covers paics. (But not +/// reference and the vec. The vec is put back when this drops so it also covers panics. (But not /// leaks, which is OK since we never leak.) pub(crate) struct ScriptBufAsVec<'a>(&'a mut ScriptBuf, Vec);