Fix typo in internal documentation for TrustedRandomAccess

`next_back` is a method of DoubleEndedIterator, not Iterator.
This commit is contained in:
Frank Steffahn 2021-06-01 13:16:52 +02:00
parent 80af6b091f
commit c5233b7d4b

View File

@ -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()`
///