Utf8Chunks: add link to Utf8Chunk · qinheping/verify-rust-std@f560508 (original) (raw)

Original file line number Diff line number Diff line change
@@ -8,6 +8,8 @@ impl [u8] {
8 8 /// Creates an iterator over the contiguous valid UTF-8 ranges of this
9 9 /// slice, and the non-UTF-8 fragments in between.
10 10 ///
11 + /// See the [`Utf8Chunk`] type for documenation of the items yielded by this iterator.
12 + ///
11 13 /// # Examples
12 14 ///
13 15 /// This function formats arbitrary but mostly-UTF-8 bytes into Rust source
@@ -148,6 +150,8 @@ impl fmt::Debug for Debug<'_> {
148 150 /// If you want a simple conversion from UTF-8 byte slices to string slices,
149 151 /// [`from_utf8`] is easier to use.
150 152 ///
153 +/// See the [`Utf8Chunk`] type for documenation of the items yielded by this iterator.
154 +///
151 155 /// [byteslice]: slice
152 156 /// [`from_utf8`]: super::from_utf8
153 157 ///