diff options
| author | Pascal Hertleif <killercup@gmail.com> | 2015-07-28 09:39:15 +0200 |
|---|---|---|
| committer | Pascal Hertleif <killercup@gmail.com> | 2015-07-28 09:39:15 +0200 |
| commit | 8c6ec5d72c3a337d452a16ce369a8d6d3d6d895b (patch) | |
| tree | ea10be3dfa42a790cc606e54cc4bbb538d99dad7 /src/libstd | |
| parent | ff6c6ce917bd6af9c5d9315708ae6be3ba0b7e91 (diff) | |
| download | rust-8c6ec5d72c3a337d452a16ce369a8d6d3d6d895b.tar.gz rust-8c6ec5d72c3a337d452a16ce369a8d6d3d6d895b.zip | |
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.)
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/io/cursor.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libstd/io/cursor.rs b/src/libstd/io/cursor.rs index 4bb7d2ebd19..980ec51c926 100644 --- a/src/libstd/io/cursor.rs +++ b/src/libstd/io/cursor.rs @@ -15,10 +15,8 @@ use cmp; use io::{self, SeekFrom, Error, ErrorKind}; use slice; -/// A `Cursor` wraps another type and provides it with a [`Seek`][seek] -/// implementation. -/// -/// [seek]: trait.Seek.html +/// A `Cursor` wraps another type and provides it with a +/// [`Seek`](trait.Seek.html) implementation. /// /// Cursors are typically used with in-memory buffers to allow them to /// implement `Read` and/or `Write`, allowing these buffers to be used |
