Skip to content

Commit 0bd3a85

Browse files
authored
Rollup merge of #63615 - jens1o:patch-1, r=jonas-schievink
Fix typo in DoubleEndedIterator::nth_back doc
2 parents 8958e50 + e046a7a commit 0bd3a85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/iter/traits/double_ended.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ pub trait DoubleEndedIterator: Iterator {
6969
/// Returns the `n`th element from the end of the iterator.
7070
///
7171
/// This is essentially the reversed version of [`nth`]. Although like most indexing
72-
/// operations, the count starts from zero, so `nth_back(0)` returns the first value fro
72+
/// operations, the count starts from zero, so `nth_back(0)` returns the first value from
7373
/// the end, `nth_back(1)` the second, and so on.
7474
///
7575
/// Note that all elements between the end and the returned element will be

0 commit comments

Comments
 (0)