diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2021-07-30 16:26:59 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-30 16:26:59 +0900 |
| commit | 6e61383b66f366a4f59ce2ba3ac989656ab6d6d7 (patch) | |
| tree | 72543b9c4da7127c88cd7ff5ecab88716c88e424 /library/core/src | |
| parent | 1757d6b34d25fa543d97058a1a32d34e9a9f0d8d (diff) | |
| parent | cf0f5021f48fdb3c44c83351e7abb128b4e0191e (diff) | |
| download | rust-6e61383b66f366a4f59ce2ba3ac989656ab6d6d7.tar.gz rust-6e61383b66f366a4f59ce2ba3ac989656ab6d6d7.zip | |
Rollup merge of #87585 - GuillaumeGomez:char-types-doc, r=joshtriplett
Add missing links for core::char types
Diffstat (limited to 'library/core/src')
| -rw-r--r-- | library/core/src/char/decode.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/library/core/src/char/decode.rs b/library/core/src/char/decode.rs index 5e7784730e3..4784418f98c 100644 --- a/library/core/src/char/decode.rs +++ b/library/core/src/char/decode.rs @@ -5,6 +5,11 @@ use crate::fmt; use super::from_u32_unchecked; /// An iterator that decodes UTF-16 encoded code points from an iterator of `u16`s. +/// +/// This `struct` is created by the [`decode_utf16`] method on [`char`]. See its +/// documentation for more. +/// +/// [`decode_utf16`]: char::decode_utf16 #[stable(feature = "decode_utf16", since = "1.9.0")] #[derive(Clone, Debug)] pub struct DecodeUtf16<I> @@ -16,6 +21,8 @@ where } /// An error that can be returned when decoding UTF-16 code points. +/// +/// This `struct` is created when using the [`DecodeUtf16`] type. #[stable(feature = "decode_utf16", since = "1.9.0")] #[derive(Debug, Clone, Eq, PartialEq)] pub struct DecodeUtf16Error { |
