Rollup merge of #64505 - pickfire:patch-1, r=Mark-Simulacrum

Fix inconsistent link formatting
This commit is contained in:
Tyler Mandry 2019-09-17 14:10:52 -07:00 committed by GitHub
commit b544284315
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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> {