Skip to content

Commit

Permalink
Clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mappum committed Oct 28, 2024
1 parent 7fc0f62 commit 2de72d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1731,6 +1731,7 @@ impl IbcDest {
}

impl Migrate for IbcDest {
#[allow(clippy::needless_borrows_for_generic_args)]
fn migrate(_src: Store, _dest: Store, mut bytes: &mut &[u8]) -> Result<Self> {
let source_port = LengthString::<u8>::decode(&mut bytes)?;
let source_channel = LengthString::<u8>::decode(&mut bytes)?;
Expand Down Expand Up @@ -2043,6 +2044,7 @@ impl Query for Dest {
}

impl Migrate for Dest {
#[allow(clippy::needless_borrows_for_generic_args)]
fn migrate(src: Store, dest: Store, bytes: &mut &[u8]) -> Result<Self> {
// TODO: !!!!!!!! remove from here once there are no legacy IBC dests
// Migrate IBC dests
Expand Down

0 comments on commit 2de72d0

Please sign in to comment.