Rollup merge of #23607 - mahkoh:cursor, r=alexcrichton

Closes #23599

r? @alexcrichton
This commit is contained in:
Steve Klabnik 2015-03-23 17:05:44 -04:00
commit 9299446030

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,