mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-01 08:29:49 +00:00
Easy PR: Fix warnings from latest nightly (#14195)
* unneeded mut * remove needless borrows
This commit is contained in:
1 parent
0fd0fb44d6
commit
ea21a495f8
13 files changed
+31
-33
No files matched your search
@@ -609,7 +609,7 @@ frame_benchmarking::benchmarks! {
|
||||
let (depositor, pool_account) = create_pool_account::<T>(0, min_create_bond, None);
|
||||
BondedPools::<T>::mutate(&1, |maybe_pool| {
|
||||
// Force the pool into an invalid state
|
||||
maybe_pool.as_mut().map(|mut pool| pool.points = min_create_bond * 10u32.into());
|
||||
maybe_pool.as_mut().map(|pool| pool.points = min_create_bond * 10u32.into());
|
||||
});
|
||||
|
||||
let caller = account("caller", 0, USER_SEED);
|
||||
|
||||
Reference in new issue
Block a user