Skip to content

Commit

Permalink
switch off warning
Browse files Browse the repository at this point in the history
  • Loading branch information
olga24912 committed Jan 31, 2025
1 parent 0b35615 commit 7488465
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions near/omni-bridge/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -809,6 +809,7 @@ impl Contract {
Self::refund(predecessor_account_id, refund_amount);
}

#[allow(clippy::needless_pass_by_value)]
pub fn finish_withdraw(
&mut self,
#[serializer(borsh)] sender_id: &AccountId,
Expand Down

0 comments on commit 7488465

Please sign in to comment.