We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eac0908 commit 4837fb4Copy full SHA for 4837fb4
src/liballoc/boxed.rs
@@ -662,6 +662,9 @@ impl<I: DoubleEndedIterator + ?Sized> DoubleEndedIterator for Box<I> {
662
fn next_back(&mut self) -> Option<I::Item> {
663
(**self).next_back()
664
}
665
+ fn nth_back(&mut self, n: usize) -> Option<I::Item> {
666
+ (**self).nth_back(n)
667
+ }
668
669
#[stable(feature = "rust1", since = "1.0.0")]
670
impl<I: ExactSizeIterator + ?Sized> ExactSizeIterator for Box<I> {
src/liballoc/lib.rs
@@ -115,6 +115,7 @@
115
#![feature(maybe_uninit)]
116
#![feature(alloc_layout_extra)]
117
#![feature(try_trait)]
118
+#![feature(iter_nth_back)]
119
120
// Allow testing this library
121
0 commit comments