Skip to content

Commit 838a383

Browse files
committed
Fixed several pulldown warnings when documenting libstd.
1 parent b5a3ab2 commit 838a383

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/liballoc/str.rs

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

src/libcore/num/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2630,7 +2630,7 @@ impl u8 {
26302630
///
26312631
/// - U+0021 ... U+002F `! " # $ % & ' ( ) * + , - . /`, or
26322632
/// - U+003A ... U+0040 `: ; < = > ? @`, or
2633-
/// - U+005B ... U+0060 `[ \\ ] ^ _ \``, or
2633+
/// - U+005B ... U+0060 ``[ \ ] ^ _ ` ``, or
26342634
/// - U+007B ... U+007E `{ | } ~`
26352635
///
26362636
/// # Examples

src/libstd/io/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ pub trait Read {
737737
/// Transforms this `Read` instance to an [`Iterator`] over its bytes.
738738
///
739739
/// The returned type implements [`Iterator`] where the `Item` is
740-
/// [`Result`]`<`[`u8`]`, `[`io::Error`]>`.
740+
/// [`Result`]`<`[`u8`]`, `[`io::Error`]`>`.
741741
/// The yielded item is [`Ok`] if a byte was successfully read and [`Err`]
742742
/// otherwise. EOF is mapped to returning [`None`] from this iterator.
743743
///
@@ -748,7 +748,7 @@ pub trait Read {
748748
/// [file]: ../fs/struct.File.html
749749
/// [`Iterator`]: ../../std/iter/trait.Iterator.html
750750
/// [`Result`]: ../../std/result/enum.Result.html
751-
/// [`io::Error``]: ../../std/io/struct.Error.html
751+
/// [`io::Error`]: ../../std/io/struct.Error.html
752752
/// [`u8`]: ../../std/primitive.u8.html
753753
/// [`Ok`]: ../../std/result/enum.Result.html#variant.Ok
754754
/// [`Err`]: ../../std/result/enum.Result.html#variant.Err

src/libstd_unicode/char.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1292,7 +1292,7 @@ impl char {
12921292
///
12931293
/// - U+0021 ... U+002F `! " # $ % & ' ( ) * + , - . /`, or
12941294
/// - U+003A ... U+0040 `: ; < = > ? @`, or
1295-
/// - U+005B ... U+0060 `[ \\ ] ^ _ \``, or
1295+
/// - U+005B ... U+0060 ``[ \ ] ^ _ ` ``, or
12961296
/// - U+007B ... U+007E `{ | } ~`
12971297
///
12981298
/// # Examples

0 commit comments

Comments
 (0)