diff options
| author | Corey Farwell <coreyf@rwell.org> | 2017-12-03 17:43:45 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-12-03 17:43:45 -0500 |
| commit | fcf1e736479463f0333896effba1b86944ba15de (patch) | |
| tree | 59720e35482694f1f2012c7d559fa96157d27b92 /src/libstd_unicode | |
| parent | b9ffbff9595112af6144ea0f833d7c22e940a824 (diff) | |
| parent | 47acc4bd8440b82ee6709221299fe37bde1f9533 (diff) | |
| download | rust-fcf1e736479463f0333896effba1b86944ba15de.tar.gz rust-fcf1e736479463f0333896effba1b86944ba15de.zip | |
Rollup merge of #46432 - tromey:doc-fix-46307, r=estebank
Fix documentation for DecodeUtf16Error Fixes #46307
Diffstat (limited to 'src/libstd_unicode')
| -rw-r--r-- | src/libstd_unicode/char.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd_unicode/char.rs b/src/libstd_unicode/char.rs index 6b573e5011b..1c0cdfd8435 100644 --- a/src/libstd_unicode/char.rs +++ b/src/libstd_unicode/char.rs @@ -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 { |
