rust-lang/rust — pull request #19241 by cmr (2014-11-23 14:48:20+00:00)
Title: core: add {Imm,M}utablePrimitiveSlice trait

Lets eligible slices be converted to a slice of bytes. Abstracts out some
sensible unsafe behavior from `rust-image`.