core: Inherit non-allocating slice functionality

This commit adds a new trait, MutableVectorAllocating, which represents
functions on vectors which can allocate.

This is another extension trait to slices which should be removed once a lang
item exists for the ~ allocation.
This commit is contained in:
Alex Crichton
2014-04-30 22:54:25 -07:00
parent be0a11729e
commit 91ede1f09a
7 changed files with 1538 additions and 1556 deletions

View File

@@ -69,4 +69,5 @@ pub mod iter;
pub mod option;
pub mod raw;
pub mod char;
pub mod slice;
pub mod tuple;