Skip to content

Commit

Permalink
chore: satisfy latest clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
flxzt committed Mar 9, 2024
1 parent 8b163ec commit 685ba79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fixedsizebuffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ impl<T> FixedSizeBuffer<T> {
}

pub fn first(&self) -> Option<&T> {
self.inner.get(0)
self.inner.front()
}

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

0 comments on commit 685ba79

Please sign in to comment.