diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-10-30 13:43:24 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-11-01 11:37:04 -0700 |
| commit | 21ac985af44f4e2470ef6f4c0eb4d72daf5a6497 (patch) | |
| tree | a120c184188926cd154b40f9da77ad8a6a455c1b /src/libstd/dynamic_lib.rs | |
| parent | 1442235d3feab4c5ca3f55e2b3345583f640a17e (diff) | |
| download | rust-21ac985af44f4e2470ef6f4c0eb4d72daf5a6497.tar.gz rust-21ac985af44f4e2470ef6f4c0eb4d72daf5a6497.zip | |
collections: Remove all collections traits
As part of the collections reform RFC, this commit removes all collections traits in favor of inherent methods on collections themselves. All methods should continue to be available on all collections. This is a breaking change with all of the collections traits being removed and no longer being in the prelude. In order to update old code you should move the trait implementations to inherent implementations directly on the type itself. Note that some traits had default methods which will also need to be implemented to maintain backwards compatibility. [breaking-change] cc #18424
Diffstat (limited to 'src/libstd/dynamic_lib.rs')
| -rw-r--r-- | src/libstd/dynamic_lib.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libstd/dynamic_lib.rs b/src/libstd/dynamic_lib.rs index ec6eef07c95..4c133fc7397 100644 --- a/src/libstd/dynamic_lib.rs +++ b/src/libstd/dynamic_lib.rs @@ -20,7 +20,6 @@ A simple wrapper over the platform's dynamic library facilities #![allow(missing_docs)] use clone::Clone; -use collections::MutableSeq; use c_str::ToCStr; use iter::Iterator; use mem; @@ -280,7 +279,6 @@ pub mod dl { #[cfg(target_os = "windows")] pub mod dl { use c_str::ToCStr; - use collections::MutableSeq; use iter::Iterator; use libc; use os; |
