rust-lang/rust — pull request #18443 by alexcrichton (2014-10-30 01:04:17+00:00)
Title: collections: impl Deref for Vec/String

This commit adds the following impls:

impl Deref<[T]> for Vec
impl DerefMut<[T]> for Vec
impl Deref for String

This commit also removes all duplicated inherent methods from vectors and
strings as implementations will now silently call through to the slice
implementation. Some breakage occurred at std and beneath due to inherent
methods removed in favor of those in the slice traits and std doesn't use its
own prelude,

cc #18424