Skip to content

Commit

Permalink
Fix typo in internal documentation for TrustedRandomAccess
Browse files Browse the repository at this point in the history
`next_back` is a method of DoubleEndedIterator, not Iterator.
  • Loading branch information
steffahn committed Jun 1, 2021
1 parent 80af6b0 commit c5233b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/iter/adapters/zip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ impl<A: Debug + TrustedRandomAccess, B: Debug + TrustedRandomAccess> ZipFmt<A, B
/// called on `self`:
/// * `std::clone::Clone::clone()`
/// * `std::iter::Iterator::size_hint()`
/// * `std::iter::Iterator::next_back()`
/// * `std::iter::DoubleEndedIterator::next_back()`
/// * `std::iter::Iterator::__iterator_get_unchecked()`
/// * `std::iter::TrustedRandomAccess::size()`
///
Expand Down

0 comments on commit c5233b7

Please sign in to comment.