Skip to content

Commit

Permalink
Appease Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
sellout committed Dec 6, 2024
1 parent db4be8b commit f215757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/script.rs
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ impl Neg for ScriptNum {
#[derive(Clone, Debug)]
pub struct Script<'a>(pub &'a [u8]);

impl<'a> Script<'a> {
impl Script<'_> {
pub fn get_op(script: &mut &[u8]) -> Result<Opcode, ScriptError> {
Self::get_op2(script, &mut vec![])
}
Expand Down

0 comments on commit f215757

Please sign in to comment.