Skip to content

Commit

Permalink
Rollup merge of rust-lang#64505 - pickfire:patch-1, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
Fix inconsistent link formatting
  • Loading branch information
tmandry committed Sep 17, 2019
2 parents 3a1390c + 62e86b4 commit b544284
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/libstd/io/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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> {
Expand Down Expand Up @@ -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> {
Expand Down

0 comments on commit b544284

Please sign in to comment.