Skip to content

Commit

Permalink
fix clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalkuthe committed Feb 20, 2024
1 parent 980413f commit ff688ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ impl<T: Sync + Send + 'static> Snapshot<T> {
pub fn matched_items(
&self,
range: impl RangeBounds<u32>,
) -> impl Iterator<Item = Item<'_, T>> + ExactSizeIterator + DoubleEndedIterator + '_ {
) -> impl ExactSizeIterator<Item = Item<'_, T>> + DoubleEndedIterator + '_ {
// TODO: use TAIT
let start = match range.start_bound() {
Bound::Included(&start) => start as usize,
Expand Down

0 comments on commit ff688ee

Please sign in to comment.