We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29a0fb6 commit 93cd3ccCopy full SHA for 93cd3cc
crates/phactory/src/contracts/support/keeper.rs
@@ -37,12 +37,12 @@ impl ContractsKeeper {
37
38
pub fn get_mut(&mut self, id: &AccountId) -> Option<&mut Contract> {
39
let boxed = self.contracts.get_mut(id)?;
40
- Some(&mut *boxed)
+ Some(boxed)
41
}
42
43
pub fn get(&self, id: &AccountId) -> Option<&Contract> {
44
let boxed = self.contracts.get(id)?;
45
- Some(&*boxed)
46
47
48
#[allow(clippy::len_without_is_empty)]
0 commit comments