Skip to content

Commit 91ede1f

Browse files
committed
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.
1 parent be0a117 commit 91ede1f

File tree

7 files changed

+1599
-1617
lines changed

7 files changed

+1599
-1617
lines changed

src/libcore/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,5 @@ pub mod iter;
6969
pub mod option;
7070
pub mod raw;
7171
pub mod char;
72+
pub mod slice;
7273
pub mod tuple;

0 commit comments

Comments
 (0)