Announcing Rust 1.15.1 , Rust Blog. The problem with as_mut_slice, a three line function, was discovered just minutes after publishing Rust 1.15.0, and is a reminder of the perils of writing unsafe code. as_mut_slice is a method on the IntoIter iterator for the Vec type that offers a mutable view into the buffer being iterated over.