Skip to content

Commit

Permalink
Fix violation of MSRV (thanks github actions)
Browse files Browse the repository at this point in the history
  • Loading branch information
thepowersgang committed Feb 25, 2024
1 parent 2c855ff commit 4064d20
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/value/trait_impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ d! { ::core::iter::DoubleEndedIterator;
(**self).next_back()
}

// Included because it can be
fn nth_back(&mut self, n: usize) -> Option<Self::Item> {
(**self).nth_back(n)
}
// Unstable in MSRV
//fn nth_back(&mut self, n: usize) -> Option<Self::Item> {
// (**self).nth_back(n)
//}
}
d! { ::core::iter::ExactSizeIterator;
fn len(&self) -> usize { (**self).len() }
Expand Down

0 comments on commit 4064d20

Please sign in to comment.