Skip to content

Commit e046a7a

Browse files
authored
Fix typo in DoubleEndedIterator::nth_back doc
1 parent f7af19c commit e046a7a

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)