mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-15 09:22:55 +00:00
clippy
This commit is contained in:
@@ -564,7 +564,7 @@ impl<Value: Clone> BufferedHistoricLayerCoverage<Value> {
|
||||
panic!("rebuild pls")
|
||||
}
|
||||
|
||||
return self.redundant_layers.contains_key(key);
|
||||
self.redundant_layers.contains_key(key)
|
||||
}
|
||||
|
||||
/// Return a reference to a queryable map, assuming all updates
|
||||
@@ -727,7 +727,7 @@ fn test_redundant_layers() {
|
||||
map.insert(key2.clone(), "Delta 2".to_string());
|
||||
map.rebuild();
|
||||
assert_eq!(map.is_redundant(&key1), is_redundant);
|
||||
assert_eq!(map.is_redundant(&key2), false);
|
||||
assert!(!map.is_redundant(&key2));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user