Fixed several pulldown warnings when documenting libstd.

This commit is contained in:
kennytm 2017-11-14 17:22:57 +08:00
parent b5a3ab2e81
commit 838a38365d
No known key found for this signature in database
GPG Key ID: FEF6C8051D0E013C
4 changed files with 5 additions and 5 deletions

View File

@ -2293,7 +2293,7 @@ impl str {
/// ///
/// - U+0021 ... U+002F `! " # $ % & ' ( ) * + , - . /`, or /// - U+0021 ... U+002F `! " # $ % & ' ( ) * + , - . /`, or
/// - U+003A ... U+0040 `: ; < = > ? @`, or /// - U+003A ... U+0040 `: ; < = > ? @`, or
/// - U+005B ... U+0060 `[ \\ ] ^ _ \``, or /// - U+005B ... U+0060 ``[ \ ] ^ _ ` ``, or
/// - U+007B ... U+007E `{ | } ~` /// - U+007B ... U+007E `{ | } ~`
#[unstable(feature = "ascii_ctype", issue = "39658")] #[unstable(feature = "ascii_ctype", issue = "39658")]
#[inline] #[inline]

View File

@ -2630,7 +2630,7 @@ impl u8 {
/// ///
/// - U+0021 ... U+002F `! " # $ % & ' ( ) * + , - . /`, or /// - U+0021 ... U+002F `! " # $ % & ' ( ) * + , - . /`, or
/// - U+003A ... U+0040 `: ; < = > ? @`, or /// - U+003A ... U+0040 `: ; < = > ? @`, or
/// - U+005B ... U+0060 `[ \\ ] ^ _ \``, or /// - U+005B ... U+0060 ``[ \ ] ^ _ ` ``, or
/// - U+007B ... U+007E `{ | } ~` /// - U+007B ... U+007E `{ | } ~`
/// ///
/// # Examples /// # Examples

View File

@ -737,7 +737,7 @@ pub trait Read {
/// Transforms this `Read` instance to an [`Iterator`] over its bytes. /// Transforms this `Read` instance to an [`Iterator`] over its bytes.
/// ///
/// The returned type implements [`Iterator`] where the `Item` is /// The returned type implements [`Iterator`] where the `Item` is
/// [`Result`]`<`[`u8`]`, `[`io::Error`]>`. /// [`Result`]`<`[`u8`]`, `[`io::Error`]`>`.
/// The yielded item is [`Ok`] if a byte was successfully read and [`Err`] /// The yielded item is [`Ok`] if a byte was successfully read and [`Err`]
/// otherwise. EOF is mapped to returning [`None`] from this iterator. /// otherwise. EOF is mapped to returning [`None`] from this iterator.
/// ///
@ -748,7 +748,7 @@ pub trait Read {
/// [file]: ../fs/struct.File.html /// [file]: ../fs/struct.File.html
/// [`Iterator`]: ../../std/iter/trait.Iterator.html /// [`Iterator`]: ../../std/iter/trait.Iterator.html
/// [`Result`]: ../../std/result/enum.Result.html /// [`Result`]: ../../std/result/enum.Result.html
/// [`io::Error``]: ../../std/io/struct.Error.html /// [`io::Error`]: ../../std/io/struct.Error.html
/// [`u8`]: ../../std/primitive.u8.html /// [`u8`]: ../../std/primitive.u8.html
/// [`Ok`]: ../../std/result/enum.Result.html#variant.Ok /// [`Ok`]: ../../std/result/enum.Result.html#variant.Ok
/// [`Err`]: ../../std/result/enum.Result.html#variant.Err /// [`Err`]: ../../std/result/enum.Result.html#variant.Err

View File

@ -1292,7 +1292,7 @@ impl char {
/// ///
/// - U+0021 ... U+002F `! " # $ % & ' ( ) * + , - . /`, or /// - U+0021 ... U+002F `! " # $ % & ' ( ) * + , - . /`, or
/// - U+003A ... U+0040 `: ; < = > ? @`, or /// - U+003A ... U+0040 `: ; < = > ? @`, or
/// - U+005B ... U+0060 `[ \\ ] ^ _ \``, or /// - U+005B ... U+0060 ``[ \ ] ^ _ ` ``, or
/// - U+007B ... U+007E `{ | } ~` /// - U+007B ... U+007E `{ | } ~`
/// ///
/// # Examples /// # Examples