Skip to content

Commit b68de53

Browse files
committed
---
yaml --- r: 192233 b: refs/heads/master c: 8b6c0fd h: refs/heads/master i: 192231: 0bc98bf v: v3
1 parent e57bcd8 commit b68de53

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 92994460309a45d83affec8f4e5ca8ce386f0e46
2+
refs/heads/master: 8b6c0fd410ac118e5159b727f33649af5d5442fa
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: a923278c6278c63468d74772c58dbf788e88f58c
55
refs/heads/try: ce76bff75603a754d092456285ff455eb871633d

trunk/src/libstd/io/cursor.rs

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,14 @@ use iter::repeat;
1717
use num::Int;
1818
use slice;
1919

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`
2121
/// implementation.
2222
///
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]>`.
2626
///
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
3128
/// over `T` itself. Instead, specific implementations are provided for various
3229
/// in-memory buffer types like `Vec<u8>` and `&[u8]`.
3330
#[stable(feature = "rust1", since = "1.0.0")]

0 commit comments

Comments
 (0)