We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1757d6b + cf0f502 commit 6e61383Copy full SHA for 6e61383
library/core/src/char/decode.rs
@@ -5,6 +5,11 @@ use crate::fmt;
5
use super::from_u32_unchecked;
6
7
/// An iterator that decodes UTF-16 encoded code points from an iterator of `u16`s.
8
+///
9
+/// This `struct` is created by the [`decode_utf16`] method on [`char`]. See its
10
+/// documentation for more.
11
12
+/// [`decode_utf16`]: char::decode_utf16
13
#[stable(feature = "decode_utf16", since = "1.9.0")]
14
#[derive(Clone, Debug)]
15
pub struct DecodeUtf16<I>
@@ -16,6 +21,8 @@ where
16
21
}
17
22
18
23
/// An error that can be returned when decoding UTF-16 code points.
24
25
+/// This `struct` is created when using the [`DecodeUtf16`] type.
19
26
20
27
#[derive(Debug, Clone, Eq, PartialEq)]
28
pub struct DecodeUtf16Error {
0 commit comments