diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2015-03-23 17:05:44 -0400 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-03-23 17:05:44 -0400 |
| commit | 92994460309a45d83affec8f4e5ca8ce386f0e46 (patch) | |
| tree | 1030cc4ad92f06368ecfb644dfaba6fa90572cb5 /src/libstd | |
| parent | 73b30db42dd1e408d30668541fd5c30721001973 (diff) | |
| parent | d6fb7e9da8d0c1216a1f60ea71ee91080f7b24ae (diff) | |
| download | rust-92994460309a45d83affec8f4e5ca8ce386f0e46.tar.gz rust-92994460309a45d83affec8f4e5ca8ce386f0e46.zip | |
Rollup merge of #23607 - mahkoh:cursor, r=alexcrichton
Closes #23599 r? @alexcrichton
Diffstat (limited to 'src/libstd')
| -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, |
