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.
Default
io::Cursor
1 parent bfb443e commit 902904aCopy full SHA for 902904a
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