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;
55use super :: from_u32_unchecked;
66
77/// 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
813#[ stable( feature = "decode_utf16" , since = "1.9.0" ) ]
914#[ derive( Clone , Debug ) ]
1015pub struct DecodeUtf16 < I >
1621}
1722
1823/// An error that can be returned when decoding UTF-16 code points.
24+ ///
25+ /// This `struct` is created when using the [`DecodeUtf16`] type.
1926#[ stable( feature = "decode_utf16" , since = "1.9.0" ) ]
2027#[ derive( Debug , Clone , Eq , PartialEq ) ]
2128pub struct DecodeUtf16Error {
You can’t perform that action at this time.
0 commit comments