diff options
| author | Brian Anderson <banderson@mozilla.com> | 2014-07-11 10:12:38 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2014-07-23 13:20:10 -0700 |
| commit | d36a8f3f9c70c63ed9042d83cdc47392d12b3886 (patch) | |
| tree | 821721bb8fc6e81e4301cc76ba2ddf450d011b4f /src/libstd/lib.rs | |
| parent | c080d26d328d6e8bbf4b159b5c5f3cd55c86f621 (diff) | |
| download | rust-d36a8f3f9c70c63ed9042d83cdc47392d12b3886.tar.gz rust-d36a8f3f9c70c63ed9042d83cdc47392d12b3886.zip | |
collections: Move push/pop to MutableSeq
Implement for Vec, DList, RingBuf. Add MutableSeq to the prelude. Since the collections traits are in the prelude most consumers of these methods will continue to work without change. [breaking-change]
Diffstat (limited to 'src/libstd/lib.rs')
| -rw-r--r-- | src/libstd/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index e14092bc8dc..125c3fdf5d9 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -288,4 +288,6 @@ mod std { #[cfg(test)] pub use os = realstd::os; // The test runner requires std::slice::Vector, so re-export std::slice just for it. #[cfg(test)] pub use slice; + + pub use collections; // vec!() uses MutableSeq } |
