From 367481903a56a89eee2bffa5a27f8b9c75bfd40f Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Fri, 27 Oct 2023 12:23:21 -0700 Subject: [PATCH] Fix not(u64_digit) U32Digits::next_back for MSRV 1.31 --- src/biguint/iter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/biguint/iter.rs b/src/biguint/iter.rs index 1e673e45..1bb701be 100644 --- a/src/biguint/iter.rs +++ b/src/biguint/iter.rs @@ -156,7 +156,7 @@ impl Iterator for U32Digits<'_> { #[cfg(not(u64_digit))] impl DoubleEndedIterator for U32Digits<'_> { fn next_back(&mut self) -> Option { - self.it.next_back().copied() + self.it.next_back().cloned() } }