Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejdfinity committed Nov 29, 2024
1 parent 84551a9 commit 1005cb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rs/ledger_suite/icrc1/ledger/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ impl Ledger {
self.stable_balances.token_pool = self.balances.token_pool;
}

pub fn balances_len(&self) -> u64{
pub fn balances_len(&self) -> u64 {
BALANCES_MEMORY.with_borrow_mut(|balances| balances.len())
}
}
Expand Down

0 comments on commit 1005cb5

Please sign in to comment.