rollup merge of #23607: mahkoh/cursor

Closes #23599

r? @alexcrichton
This commit is contained in:
Alex Crichton 2015-03-23 15:10:53 -07:00
commit 71c705db02

View file

@ -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,