Skip to content

Commit 8c6ec5d

Browse files
committed
IO Docs: Fix Link in Cursor description
The first paragraph of the docs of the Cursor struct contains a Markdown link. In listings, this won't get rendered. (Rustdoc seems to split off the first paragraph and after that convert Markdown to HTML.)
1 parent ff6c6ce commit 8c6ec5d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/libstd/io/cursor.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@ use cmp;
1515
use io::{self, SeekFrom, Error, ErrorKind};
1616
use slice;
1717

18-
/// A `Cursor` wraps another type and provides it with a [`Seek`][seek]
19-
/// implementation.
20-
///
21-
/// [seek]: trait.Seek.html
18+
/// A `Cursor` wraps another type and provides it with a
19+
/// [`Seek`](trait.Seek.html) implementation.
2220
///
2321
/// Cursors are typically used with in-memory buffers to allow them to
2422
/// implement `Read` and/or `Write`, allowing these buffers to be used

0 commit comments

Comments
 (0)