Skip to content

Commit d6fb7e9

Browse files
author
Julian Orth
committed
derive missing trait implementations for cursor
1 parent 68d6941 commit d6fb7e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libstd/io/cursor.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ use slice;
3131
/// over `T` itself. Instead, specific implementations are provided for various
3232
/// in-memory buffer types like `Vec<u8>` and `&[u8]`.
3333
#[stable(feature = "rust1", since = "1.0.0")]
34+
#[derive(Clone, Debug)]
3435
pub struct Cursor<T> {
3536
inner: T,
3637
pos: u64,

0 commit comments

Comments
 (0)