Skip to content

Commit

Permalink
DOC: Update TrustedIterator doc
Browse files Browse the repository at this point in the history
  • Loading branch information
bluss committed Mar 31, 2024
1 parent 1e05bae commit 4d9ce5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/iterators/mod.rs
Expand Up @@ -1600,6 +1600,8 @@ send_sync_read_write!(ElementsBaseMut);
/// (Trait used internally) An iterator that we trust
/// to deliver exactly as many items as it said it would.
///
/// # Safety
///
/// The iterator must produce exactly the number of elements it reported or
/// diverge before reaching the end.
pub(crate) unsafe trait TrustedIterator {}
Expand Down

0 comments on commit 4d9ce5e

Please sign in to comment.