rust-lang/rust — pull request #18980 by erickt (2014-11-15 15:07:34+00:00)
Title: Add Reader impl for &[u8]

This continues the work @thestinger started in #18885 (which hasn't landed yet). Instead of adding more methods to `BufReader`, this just allows a `&[u8]` to be used directly as a reader.