Skip to content

Commit deba24e

Browse files
committed
---
yaml --- r: 194331 b: refs/heads/tmp c: 8b6c0fd h: refs/heads/master i: 194329: 7057786 194327: 5bf6e86 v: v3
1 parent a7617b3 commit deba24e

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
@@ -34,7 +34,7 @@ refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
3434
refs/heads/beta: a3b13610c5b93d9ada072471a001a5613df6a960
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3636
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
37-
refs/heads/tmp: 92994460309a45d83affec8f4e5ca8ce386f0e46
37+
refs/heads/tmp: 8b6c0fd410ac118e5159b727f33649af5d5442fa
3838
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3939
refs/tags/homu-tmp: 28a0b25f424090255966273994748a9f9901059f
4040
refs/heads/gate: 97c84447b65164731087ea82685580cc81424412

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