chore: Clippy fixes

This commit is contained in:
Ginger committed 2026-08-25 12:37:13 -04:00
1 parent 18b0a87b2d
commit eadcea8034
14 files changed
+66 -52

No files matched your search

+3 -3
View File
@@ -136,14 +136,14 @@ impl Service {
/// Returns a stack with info on shortstatehash, full state, added diff and
/// removed diff for the selected shortstatehash and each parent layer.
async fn cache_shortstatehash_info(
fn cache_shortstatehash_info(
&self,
shortstatehash: ShortStateHash,
stack: ShortStateInfoVec,
) -> Result {
) -> impl Future<Output = Result> {
self.stateinfo_cache.lock().insert(shortstatehash, stack);
Ok(())
std::future::ready(Ok(()))
}
/// Inserts a new shortstatehash info entry.