It's Clippy time (#3806)

Fix some Clippy issues
This commit is contained in:
Caio authored and Bastian Köcher committed 2019-10-19 13:01:51 +02:00
1 parent 470b62366f
commit f5162edc83
13 files changed
+18 -31

No files matched your search

+1 -1
View File
@@ -207,7 +207,7 @@ impl<'a, Block: BlockT> DbCacheTransaction<'a, Block> {
// prepare list of caches that are not update
// (we might still need to do some cache maintenance in this case)
let missed_caches = self.cache.cache_at.keys()
.filter(|cache| !data_at.contains_key(cache.clone()))
.filter(|cache| !data_at.contains_key(*cache))
.cloned()
.collect::<Vec<_>>();