1
Fork 0

Fix inconsistent link formatting

This commit is contained in:
Ivan Tham 2019-09-16 20:02:36 +08:00 committed by GitHub
parent b6269f27d9
commit 62e86b42b5
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 /// An iterator over the contents of an instance of `BufRead` split on a
/// particular byte. /// particular byte.
/// ///
/// This struct is generally created by calling [`split`][split] on a /// This struct is generally created by calling [`split`] on a `BufRead`.
/// `BufRead`. Please see the documentation of `split()` for more details. /// 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")] #[stable(feature = "rust1", since = "1.0.0")]
#[derive(Debug)] #[derive(Debug)]
pub struct Split<B> { 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`. /// An iterator over the lines of an instance of `BufRead`.
/// ///
/// This struct is generally created by calling [`lines`][lines] on a /// This struct is generally created by calling [`lines`] on a `BufRead`.
/// `BufRead`. Please see the documentation of `lines()` for more details. /// 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")] #[stable(feature = "rust1", since = "1.0.0")]
#[derive(Debug)] #[derive(Debug)]
pub struct Lines<B> { pub struct Lines<B> {