Skip to content

Commit b544284

Browse files
authored
Rollup merge of rust-lang#64505 - pickfire:patch-1, r=Mark-Simulacrum
Fix inconsistent link formatting
2 parents 3a1390c + 62e86b4 commit b544284

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/libstd/io/mod.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -2326,10 +2326,10 @@ impl<R: Read> Iterator for Bytes<R> {
23262326
/// An iterator over the contents of an instance of `BufRead` split on a
23272327
/// particular byte.
23282328
///
2329-
/// This struct is generally created by calling [`split`][split] on a
2330-
/// `BufRead`. Please see the documentation of `split()` for more details.
2329+
/// This struct is generally created by calling [`split`] on a `BufRead`.
2330+
/// Please see the documentation of [`split`] for more details.
23312331
///
2332-
/// [split]: trait.BufRead.html#method.split
2332+
/// [`split`]: trait.BufRead.html#method.split
23332333
#[stable(feature = "rust1", since = "1.0.0")]
23342334
#[derive(Debug)]
23352335
pub struct Split<B> {
@@ -2358,10 +2358,10 @@ impl<B: BufRead> Iterator for Split<B> {
23582358

23592359
/// An iterator over the lines of an instance of `BufRead`.
23602360
///
2361-
/// This struct is generally created by calling [`lines`][lines] on a
2362-
/// `BufRead`. Please see the documentation of `lines()` for more details.
2361+
/// This struct is generally created by calling [`lines`] on a `BufRead`.
2362+
/// Please see the documentation of [`lines`] for more details.
23632363
///
2364-
/// [lines]: trait.BufRead.html#method.lines
2364+
/// [`lines`]: trait.BufRead.html#method.lines
23652365
#[stable(feature = "rust1", since = "1.0.0")]
23662366
#[derive(Debug)]
23672367
pub struct Lines<B> {

0 commit comments

Comments
 (0)