Skip to content

Commit

Permalink
Rollup merge of #63615 - jens1o:patch-1, r=jonas-schievink
Browse files Browse the repository at this point in the history
Fix typo in DoubleEndedIterator::nth_back doc
  • Loading branch information
Centril committed Aug 16, 2019
2 parents 8958e50 + e046a7a commit 0bd3a85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/iter/traits/double_ended.rs
Expand Up @@ -69,7 +69,7 @@ pub trait DoubleEndedIterator: Iterator {
/// Returns the `n`th element from the end of the iterator.
///
/// This is essentially the reversed version of [`nth`]. Although like most indexing
/// operations, the count starts from zero, so `nth_back(0)` returns the first value fro
/// operations, the count starts from zero, so `nth_back(0)` returns the first value from
/// the end, `nth_back(1)` the second, and so on.
///
/// Note that all elements between the end and the returned element will be
Expand Down

0 comments on commit 0bd3a85

Please sign in to comment.