about summary refs log tree commit diff
path: root/src/libstd/dynamic_lib.rs
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/libstd/dynamic_lib.rs
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/libstd/dynamic_lib.rs')
-rw-r--r--src/libstd/dynamic_lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/dynamic_lib.rs b/src/libstd/dynamic_lib.rs
index 86283f03381..5980245fa79 100644
--- a/src/libstd/dynamic_lib.rs
+++ b/src/libstd/dynamic_lib.rs
@@ -20,6 +20,7 @@ A simple wrapper over the platform's dynamic library facilities
 #![allow(missing_doc)]
 
 use clone::Clone;
+use collections::MutableSeq;
 use c_str::ToCStr;
 use iter::Iterator;
 use mem;