Skip to content

Commit

Permalink
derive missing trait implementations for cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Orth committed Mar 23, 2015
1 parent 68d6941 commit d6fb7e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libstd/io/cursor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d6fb7e9

Please sign in to comment.