From 0c5c174f1b63a24c694452935c101329411640d5 Mon Sep 17 00:00:00 2001 From: Arni Hod Date: Thu, 19 Dec 2024 14:58:49 +0200 Subject: [PATCH] chore(blockifier): remove variable does not need to be mutable comment --- crates/blockifier/src/state/stateful_compression_test.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/blockifier/src/state/stateful_compression_test.rs b/crates/blockifier/src/state/stateful_compression_test.rs index b490881852..d316a53745 100644 --- a/crates/blockifier/src/state/stateful_compression_test.rs +++ b/crates/blockifier/src/state/stateful_compression_test.rs @@ -66,10 +66,10 @@ fn test_alias_updater( #[case] expected_alias_keys: Vec, #[values(0, 2)] n_existing_aliases: u8, ) { - let mut state = initial_state(n_existing_aliases); + let state = initial_state(n_existing_aliases); // Insert the keys into the alias contract updater and finalize the updates. - let mut alias_contract_updater = AliasUpdater::new(&mut state).unwrap(); + let mut alias_contract_updater = AliasUpdater::new(&state).unwrap(); for key in keys { alias_contract_updater.insert_alias(&StorageKey::try_from(key).unwrap()).unwrap(); }