We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 39edc68 + 902904a commit bd17b5cCopy full SHA for bd17b5c
src/libstd/io/cursor.rs
@@ -72,7 +72,7 @@ use core::convert::TryInto;
72
/// }
73
/// ```
74
#[stable(feature = "rust1", since = "1.0.0")]
75
-#[derive(Clone, Debug)]
+#[derive(Clone, Debug, Default)]
76
pub struct Cursor<T> {
77
inner: T,
78
pos: u64,
0 commit comments