]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #10466 : alexcrichton/rust/issue-10334, r=cmr
authorbors <bors@rust-lang.org>
Sun, 17 Nov 2013 09:21:36 +0000 (01:21 -0800)
committerbors <bors@rust-lang.org>
Sun, 17 Nov 2013 09:21:36 +0000 (01:21 -0800)
These commits create a `Buffer` trait in the `io` module which represents an I/O reader which is internally buffered. This abstraction is used to reasonably implement `read_line` and `read_until` along with at least an ok implementation of `read_char` (although I certainly haven't benchmarked `read_char`).

1  2 
src/libstd/io/mem.rs
src/libstd/io/mod.rs

Simple merge
Simple merge