Skip to content

Commit 9c8ea2a

Browse files
committed
---
yaml --- r: 192444 b: refs/heads/auto c: 8b6c0fd h: refs/heads/master v: v3
1 parent 96786ae commit 9c8ea2a

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
@@ -10,7 +10,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1010
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1111
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1212
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
13-
refs/heads/auto: 92994460309a45d83affec8f4e5ca8ce386f0e46
13+
refs/heads/auto: 8b6c0fd410ac118e5159b727f33649af5d5442fa
1414
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1515
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1616
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/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)