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 2ef11ad commit 4847a0fCopy full SHA for 4847a0f
beacon_node/beacon_chain/src/snapshot_cache.rs
@@ -174,6 +174,7 @@ impl<T: EthSpec> SnapshotCache<T> {
174
self.snapshots.iter().map(|s| s.beacon_block_root).collect()
175
}
176
177
+ #[allow(clippy::len_without_is_empty)]
178
/// The number of snapshots contained in `self`.
179
pub fn len(&self) -> usize {
180
self.snapshots.len()
0 commit comments