Skip to content

Commit

Permalink
std: Derive Default for io::Cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
tesaguri committed Apr 24, 2019
1 parent bfb443e commit 902904a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/io/cursor.rs
Expand Up @@ -72,7 +72,7 @@ use core::convert::TryInto;
/// }
/// ```
#[stable(feature = "rust1", since = "1.0.0")]
#[derive(Clone, Debug)]
#[derive(Clone, Debug, Default)]
pub struct Cursor<T> {
inner: T,
pos: u64,
Expand Down

0 comments on commit 902904a

Please sign in to comment.