diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-03-23 15:10:53 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-03-23 15:10:53 -0700 |
| commit | 71c705db0207514b63bacd72afd61da2eb5720ef (patch) | |
| tree | 5cc00f72b8c141ffb72b658a1dd03082b0f52511 /src/libstd/io | |
| parent | 68fb3acd85f8efc3946f8530dedf082fa9fc9651 (diff) | |
| parent | d6fb7e9da8d0c1216a1f60ea71ee91080f7b24ae (diff) | |
| download | rust-71c705db0207514b63bacd72afd61da2eb5720ef.tar.gz rust-71c705db0207514b63bacd72afd61da2eb5720ef.zip | |
rollup merge of #23607: mahkoh/cursor
Closes #23599 r? @alexcrichton
Diffstat (limited to 'src/libstd/io')
| -rw-r--r-- | src/libstd/io/cursor.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/io/cursor.rs b/src/libstd/io/cursor.rs index 87e5a2a4488..0dde4642677 100644 --- a/src/libstd/io/cursor.rs +++ b/src/libstd/io/cursor.rs @@ -31,6 +31,7 @@ use slice; /// over `T` itself. Instead, specific implementations are provided for various /// in-memory buffer types like `Vec<u8>` and `&[u8]`. #[stable(feature = "rust1", since = "1.0.0")] +#[derive(Clone, Debug)] pub struct Cursor<T> { inner: T, pos: u64, |
