Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement .nth_back() for iterators (#686)
* Implement .nth_back() for iterators The `.nth_back()` method was added to the `DoubleEndedIterator` trait in Rust 1.37. Providing an implementation for `Baseiter` and forwarding it for `Iter/Mut` improves performance. * Split test_nth_back into multiple tests
- Loading branch information
1 parent
c916203
commit 4976d96
Showing
4 changed files
with
114 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters