diff options
| author | klutzy <klutzytheklutzy@gmail.com> | 2013-12-08 16:12:07 +0900 |
|---|---|---|
| committer | klutzy <klutzytheklutzy@gmail.com> | 2013-12-11 15:50:51 +0900 |
| commit | 5a93d12e01c8275674bcdb6f3f765a7bdcf08779 (patch) | |
| tree | 32866c4cc1b0bdcd81e23dad666a51e34c94d8d4 /src/libsyntax/parse | |
| parent | b8b16ae0996074861693f0f76d5d937fafe6a37e (diff) | |
| download | rust-5a93d12e01c8275674bcdb6f3f765a7bdcf08779.tar.gz rust-5a93d12e01c8275674bcdb6f3f765a7bdcf08779.zip | |
std::io: Add Buffer.lines(), change .bytes() api
- `Buffer.lines()` returns `LineIterator` which yields line using
`.read_line()`.
- `Reader.bytes()` now takes `&mut self` instead of `self`.
- `Reader.read_until()` swallows `EndOfFile`. This also affects
`.read_line()`.
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions
