Fix documentation for DecodeUtf16Error

Fixes #46307
This commit is contained in:
Tom Tromey 2017-12-01 11:33:42 -07:00
parent 560a5da9f1
commit 47acc4bd84

View File

@ -1461,7 +1461,7 @@ pub struct DecodeUtf16<I>
buf: Option<u16>,
}
/// An iterator that decodes UTF-16 encoded code points from an iterator of `u16`s.
/// An error that can be returned when decoding UTF-16 code points.
#[stable(feature = "decode_utf16", since = "1.9.0")]
#[derive(Debug, Clone, Eq, PartialEq)]
pub struct DecodeUtf16Error {