diff options
| author | Tyler Mandry <tmandry@gmail.com> | 2019-09-17 14:10:52 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-17 14:10:52 -0700 |
| commit | b544284315cdf9dcbdd41c0851d15962baf0dc34 (patch) | |
| tree | fdf0363e4f27692a55ee73bc82e95d009b669a23 | |
| parent | 3a1390cdca2678ad7d80ae4f5122bb70029a9815 (diff) | |
| parent | 62e86b42b5ed342d30c539e22810c26d312995e2 (diff) | |
| download | rust-b544284315cdf9dcbdd41c0851d15962baf0dc34.tar.gz rust-b544284315cdf9dcbdd41c0851d15962baf0dc34.zip | |
Rollup merge of #64505 - pickfire:patch-1, r=Mark-Simulacrum
Fix inconsistent link formatting
| -rw-r--r-- | src/libstd/io/mod.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs index 0386dbd490d..be364a10593 100644 --- a/src/libstd/io/mod.rs +++ b/src/libstd/io/mod.rs @@ -2326,10 +2326,10 @@ impl<R: Read> Iterator for Bytes<R> { /// An iterator over the contents of an instance of `BufRead` split on a /// particular byte. /// -/// This struct is generally created by calling [`split`][split] on a -/// `BufRead`. Please see the documentation of `split()` for more details. +/// This struct is generally created by calling [`split`] on a `BufRead`. +/// Please see the documentation of [`split`] for more details. /// -/// [split]: trait.BufRead.html#method.split +/// [`split`]: trait.BufRead.html#method.split #[stable(feature = "rust1", since = "1.0.0")] #[derive(Debug)] pub struct Split<B> { @@ -2358,10 +2358,10 @@ impl<B: BufRead> Iterator for Split<B> { /// An iterator over the lines of an instance of `BufRead`. /// -/// This struct is generally created by calling [`lines`][lines] on a -/// `BufRead`. Please see the documentation of `lines()` for more details. +/// This struct is generally created by calling [`lines`] on a `BufRead`. +/// Please see the documentation of [`lines`] for more details. /// -/// [lines]: trait.BufRead.html#method.lines +/// [`lines`]: trait.BufRead.html#method.lines #[stable(feature = "rust1", since = "1.0.0")] #[derive(Debug)] pub struct Lines<B> { |
