Skip to content

Commit 47acc4b

Browse files
committed
Fix documentation for DecodeUtf16Error
Fixes #46307
1 parent 560a5da commit 47acc4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd_unicode/char.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1461,7 +1461,7 @@ pub struct DecodeUtf16<I>
14611461
buf: Option<u16>,
14621462
}
14631463

1464-
/// An iterator that decodes UTF-16 encoded code points from an iterator of `u16`s.
1464+
/// An error that can be returned when decoding UTF-16 code points.
14651465
#[stable(feature = "decode_utf16", since = "1.9.0")]
14661466
#[derive(Debug, Clone, Eq, PartialEq)]
14671467
pub struct DecodeUtf16Error {

0 commit comments

Comments
 (0)