File tree 1 file changed +5
-8
lines changed
1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -17,17 +17,14 @@ use iter::repeat;
17
17
use num:: Int ;
18
18
use slice;
19
19
20
- /// A `Cursor` is a type which wraps another I/O object to provide a `Seek`
20
+ /// A `Cursor` is a type which wraps a non- I/O object to provide a `Seek`
21
21
/// implementation.
22
22
///
23
- /// Cursors are currently typically used with memory buffer objects in order to
24
- /// allow `Seek` plus `Read` and `Write` implementations. For example, common
25
- /// cursor types include:
23
+ /// Cursors are typically used with memory buffer objects in order to allow
24
+ /// `Seek`, `Read`, and `Write` implementations. For example, common cursor types
25
+ /// include `Cursor<Vec<u8>>` and `Cursor<&[u8]>`.
26
26
///
27
- /// * `Cursor<Vec<u8>>`
28
- /// * `Cursor<&[u8]>`
29
- ///
30
- /// Implementations of the I/O traits for `Cursor<T>` are not currently generic
27
+ /// Implementations of the I/O traits for `Cursor<T>` are currently not generic
31
28
/// over `T` itself. Instead, specific implementations are provided for various
32
29
/// in-memory buffer types like `Vec<u8>` and `&[u8]`.
33
30
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
You can’t perform that action at this time.
0 commit comments