diff options
| author | Julian Orth <ju.orth@gmail.com> | 2015-03-22 16:16:04 +0100 |
|---|---|---|
| committer | Julian Orth <ju.orth@gmail.com> | 2015-03-23 17:48:13 +0100 |
| commit | d6fb7e9da8d0c1216a1f60ea71ee91080f7b24ae (patch) | |
| tree | c00b2a6b87f4dae45afd32807e233fb51abe5671 /src/libstd/io | |
| parent | 68d69415637186755482d2584e6ba82b67bc1d89 (diff) | |
| download | rust-d6fb7e9da8d0c1216a1f60ea71ee91080f7b24ae.tar.gz rust-d6fb7e9da8d0c1216a1f60ea71ee91080f7b24ae.zip | |
derive missing trait implementations for cursor
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 365f5e37b0b..e6debeb2a9c 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, |
