Skip to content

Commit 847118f

Browse files
committed
Rollup merge of rust-lang#23607 - mahkoh:cursor, r=alexcrichton
Closes rust-lang#23599 r? @alexcrichton
2 parents 2b19ddb + d6fb7e9 commit 847118f

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)