about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2014-07-11 10:12:38 -0700
committerBrian Anderson <banderson@mozilla.com>2014-07-23 13:20:10 -0700
commitd36a8f3f9c70c63ed9042d83cdc47392d12b3886 (patch)
tree821721bb8fc6e81e4301cc76ba2ddf450d011b4f /src/liballoc
parentc080d26d328d6e8bbf4b159b5c5f3cd55c86f621 (diff)
downloadrust-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/liballoc')
-rw-r--r--src/liballoc/arc.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liballoc/arc.rs b/src/liballoc/arc.rs
index 9b4f879e61e..27174de8e74 100644
--- a/src/liballoc/arc.rs
+++ b/src/liballoc/arc.rs
@@ -268,6 +268,7 @@ impl<T: Share + Send> Drop for Weak<T> {
 #[allow(experimental)]
 mod tests {
     use std::clone::Clone;
+    use std::collections::MutableSeq;
     use std::comm::channel;
     use std::mem::drop;
     use std::ops::Drop;