Skip to content

Commit

Permalink
remove unnecessary clone
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch committed Aug 28, 2024
1 parent 081ab37 commit 9116022
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/encode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ macro_rules! run_x {
Err(e) => Err(e)?,
};
let l = crate::$m::Limits::none();
stdout().write_all(&t.to_xdr(l.clone())?)?
stdout().write_all(&t.to_xdr(l)?)?
}
}
},
Expand Down

0 comments on commit 9116022

Please sign in to comment.