Enable clippy's or_fun_call linter (#7222)

Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
This commit is contained in:
Justin Traglia
2024-03-19 10:52:41 -05:00
committed by GitHub
parent 553a271533
commit 11bedc1884
14 changed files with 19 additions and 19 deletions

View File

@@ -251,7 +251,7 @@ where
}
old
};
Some(StorageEntry { value: old.unwrap_or(U256::from(0)), ..entry })
Some(StorageEntry { value: old.unwrap_or(U256::ZERO), ..entry })
})
.collect();
old_entries.sort_by_key(|entry| entry.key);