diff options
| author | Ivan Tham <pickfire@riseup.net> | 2019-09-16 20:02:36 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-16 20:02:36 +0800 |
| commit | 62e86b42b5ed342d30c539e22810c26d312995e2 (patch) | |
| tree | 97ffece61b08441a52e9577e5c9faae4d6a50f5f | |
| parent | b6269f27d99d7da9e95f0b3fdc53193dc8c42fbe (diff) | |
| download | rust-62e86b42b5ed342d30c539e22810c26d312995e2.tar.gz rust-62e86b42b5ed342d30c539e22810c26d312995e2.zip | |
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> { |
