]> git.lizzy.rs Git - rust.git/commit
auto merge of #18980 : erickt/rust/reader, r=erickt
authorbors <bors@rust-lang.org>
Thu, 4 Dec 2014 21:33:07 +0000 (21:33 +0000)
committerbors <bors@rust-lang.org>
Thu, 4 Dec 2014 21:33:07 +0000 (21:33 +0000)
commitd9c7c00b9a3d80fc81fbbb77a9f21e5f71a1d213
treedf2148f08e426cc9f26fe74fa2409cfbbcb10f3c
parent4053e82acb125e04a11f7328de7c86d314b70a9f
parent298b525951ea4ce7a78364e835f45a549b7f865e
auto merge of #18980 : erickt/rust/reader, r=erickt

This continues the work @thestinger started in #18885 (which hasn't landed yet, so wait for that to land before landing this one). Instead of adding more methods to `BufReader`, this just allows a `&[u8]` to be used directly as a `Reader`. It also adds an impl of `Writer` for `&mut [u8]`.
src/libcore/result.rs