diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2016-11-01 16:15:52 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-11-01 16:15:52 +0100 |
| commit | 7e805eae8e93f6d54e13ac7ae4ce0e60447d6580 (patch) | |
| tree | 3c630f423e56e39487f3380c90ea0808b56adf22 /src/libstd/io | |
| parent | ed96e4fd2e51bccff665a5bbbc92a7c83b7adab3 (diff) | |
| parent | 8faa503a6b1a02cd66d2517187b0b501a02a4905 (diff) | |
| download | rust-7e805eae8e93f6d54e13ac7ae4ce0e60447d6580.tar.gz rust-7e805eae8e93f6d54e13ac7ae4ce0e60447d6580.zip | |
Rollup merge of #37316 - ollie27:docs_links, r=GuillaumeGomez
Fix a few links in the docs r? @steveklabnik
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 cb9e7bd3270..1b5023380a7 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 |
