Make Instruction Copy

This commit is contained in:
Casey Rodarmor 2022-11-07 22:47:20 -08:00
parent f6d838076e
commit 80f6a4c6c5
1 changed files with 1 additions and 1 deletions

View File

@ -785,7 +785,7 @@ impl From<&Script> for WScriptHash {
} }
/// A "parsed opcode" which allows iterating over a [`Script`] in a more sensible way. /// A "parsed opcode" which allows iterating over a [`Script`] in a more sensible way.
#[derive(Debug, PartialEq, Eq, Clone)] #[derive(Debug, PartialEq, Eq, Copy, Clone)]
pub enum Instruction<'a> { pub enum Instruction<'a> {
/// Push a bunch of data. /// Push a bunch of data.
PushBytes(&'a [u8]), PushBytes(&'a [u8]),