From 1005cb5bb9bc8f16657ee560c47301b3a0ae7346 Mon Sep 17 00:00:00 2001 From: Maciej Modelski Date: Fri, 29 Nov 2024 16:07:41 +0000 Subject: [PATCH] clippy --- rs/ledger_suite/icrc1/ledger/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rs/ledger_suite/icrc1/ledger/src/lib.rs b/rs/ledger_suite/icrc1/ledger/src/lib.rs index 3e450ffba93..36f917a6bba 100644 --- a/rs/ledger_suite/icrc1/ledger/src/lib.rs +++ b/rs/ledger_suite/icrc1/ledger/src/lib.rs @@ -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()) } }