Skip to content

Commit f6aaf05

Browse files
authored
Rollup merge of #85888 - steffahn:fix_internal_trustedrandomaccess_docs, r=Mark-Simulacrum
Fix typo in internal documentation for `TrustedRandomAccess` `next_back` is a method of DoubleEndedIterator, not Iterator.
2 parents 36f1ed6 + c5233b7 commit f6aaf05

File tree

1 file changed

+1
-1
lines changed
  • library/core/src/iter/adapters

1 file changed

+1
-1
lines changed

library/core/src/iter/adapters/zip.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ impl<A: Debug + TrustedRandomAccess, B: Debug + TrustedRandomAccess> ZipFmt<A, B
434434
/// called on `self`:
435435
/// * `std::clone::Clone::clone()`
436436
/// * `std::iter::Iterator::size_hint()`
437-
/// * `std::iter::Iterator::next_back()`
437+
/// * `std::iter::DoubleEndedIterator::next_back()`
438438
/// * `std::iter::Iterator::__iterator_get_unchecked()`
439439
/// * `std::iter::TrustedRandomAccess::size()`
440440
///

0 commit comments

Comments
 (0)