diff options
| author | Oliver Middleton <olliemail27@gmail.com> | 2016-10-21 00:49:47 +0100 |
|---|---|---|
| committer | Oliver Middleton <olliemail27@gmail.com> | 2016-10-21 00:49:47 +0100 |
| commit | 8faa503a6b1a02cd66d2517187b0b501a02a4905 (patch) | |
| tree | e9d68e3947aff65ff6f6825ddcec94460e307ee6 /src/libstd/io | |
| parent | 7bccb829d0fe9a733bd6efcf6f7313186ae237ab (diff) | |
| download | rust-8faa503a6b1a02cd66d2517187b0b501a02a4905.tar.gz rust-8faa503a6b1a02cd66d2517187b0b501a02a4905.zip | |
Fix a few links in the docs
Diffstat (limited to 'src/libstd/io')
| -rw-r--r-- | src/libstd/io/cursor.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/io/cursor.rs b/src/libstd/io/cursor.rs index ca9452ffe3e..1fed061292b 100644 --- a/src/libstd/io/cursor.rs +++ b/src/libstd/io/cursor.rs @@ -23,7 +23,7 @@ use io::{self, SeekFrom, Error, ErrorKind}; /// /// The standard library implements some I/O traits on various types which /// are commonly used as a buffer, like `Cursor<`[`Vec`]`<u8>>` and -/// `Cursor<`[`&[u8]`]`>`. +/// `Cursor<`[`&[u8]`][bytes]`>`. /// /// # Examples /// @@ -35,7 +35,7 @@ use io::{self, SeekFrom, Error, ErrorKind}; /// [`Read`]: ../../std/io/trait.Read.html /// [`Write`]: ../../std/io/trait.Write.html /// [`Vec`]: ../../std/vec/struct.Vec.html -/// [`&[u8]`]: ../../std/primitive.slice.html +/// [bytes]: ../../std/primitive.slice.html /// [`File`]: ../fs/struct.File.html /// /// ```no_run |
