Skip to content

Commit 685ba79

Browse files
committed
chore: satisfy latest clippy
1 parent 8b163ec commit 685ba79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fixedsizebuffer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ impl<T> FixedSizeBuffer<T> {
3636
}
3737

3838
pub fn first(&self) -> Option<&T> {
39-
self.inner.get(0)
39+
self.inner.front()
4040
}
4141

4242
pub fn last(&self) -> Option<&T> {

0 commit comments

Comments
 (0)