rust/src/libcoretest
Alex Crichton 8e9f8f924c collections: impl Deref for Vec/String
This commit adds the following impls:

    impl<T> Deref<[T]> for Vec<T>
    impl<T> DerefMut<[T]> for Vec<T>
    impl Deref<str> 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
2014-10-29 18:48:30 -07:00
..
2014-09-09 11:32:58 +02:00
2014-10-10 22:09:49 -07:00
2014-10-13 14:16:22 +08:00
2014-10-13 14:16:22 +08:00
2014-10-13 14:16:22 +08:00
2014-10-29 18:48:30 -07:00