File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ use crate::fmt;
5
5
use super :: from_u32_unchecked;
6
6
7
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
8
13
#[ stable( feature = "decode_utf16" , since = "1.9.0" ) ]
9
14
#[ derive( Clone , Debug ) ]
10
15
pub struct DecodeUtf16 < I >
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
#[ stable( feature = "decode_utf16" , since = "1.9.0" ) ]
20
27
#[ derive( Debug , Clone , Eq , PartialEq ) ]
21
28
pub struct DecodeUtf16Error {
You can’t perform that action at this time.
0 commit comments