mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-12 02:14:10 +00:00
Fix clippy lints
This commit is contained in:
@@ -22,6 +22,10 @@ impl<T, N: Unsigned> FixedLenVec<T, N> {
|
||||
self.vec.len()
|
||||
}
|
||||
|
||||
pub fn is_empty(&self) -> bool {
|
||||
self.len() == 0
|
||||
}
|
||||
|
||||
pub fn capacity() -> usize {
|
||||
N::to_usize()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user