mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-20 14:28:37 +00:00
Fix minor PR comments
This commit is contained in:
@@ -777,11 +777,7 @@ where
|
||||
}
|
||||
|
||||
pub fn get_ref(&self, i: usize) -> Option<&T> {
|
||||
if i < self.0.len() {
|
||||
Some(&self.0[i])
|
||||
} else {
|
||||
None
|
||||
}
|
||||
self.0.get(i)
|
||||
}
|
||||
|
||||
pub fn insert(&mut self, i: usize, element: T) {
|
||||
|
||||
Reference in New Issue
Block a user