Skip to content

Commit

Permalink
Fix not(u64_digit) U32Digits::next_back for MSRV 1.31
Browse files Browse the repository at this point in the history
  • Loading branch information
cuviper committed Oct 27, 2023
1 parent da6c34b commit 3674819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/biguint/iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ impl Iterator for U32Digits<'_> {
#[cfg(not(u64_digit))]
impl DoubleEndedIterator for U32Digits<'_> {
fn next_back(&mut self) -> Option<Self::Item> {
self.it.next_back().copied()
self.it.next_back().cloned()
}
}

Expand Down

0 comments on commit 3674819

Please sign in to comment.