diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-04-21 15:28:06 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-04-21 15:28:06 -0700 |
| commit | 98e9765d973d46faa5c80fb37a48040ca9e87b28 (patch) | |
| tree | 13f27a4765ca1feeaeb48a829f9f0e810305fc5e /src/liballoc | |
| parent | 44338cb944f8a4ac8132929d7546a12291392aab (diff) | |
| parent | 8f5b5f94dcdb9884737dfbc8efd893d1d70f0b14 (diff) | |
| download | rust-98e9765d973d46faa5c80fb37a48040ca9e87b28.tar.gz rust-98e9765d973d46faa5c80fb37a48040ca9e87b28.zip | |
rollup merge of #24541: alexcrichton/issue-24538
This is an implementation of [RFC 1030][rfc] which adds these traits to the prelude and additionally removes all inherent `into_iter` methods on collections in favor of the trait implementation (which is now accessible by default). [rfc]: https://github.com/rust-lang/rfcs/pull/1030 This is technically a breaking change due to the prelude additions and removal of inherent methods, but it is expected that essentially no code breaks in practice. [breaking-change] Closes #24538
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/arc.rs | 1 | ||||
| -rw-r--r-- | src/liballoc/boxed.rs | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/liballoc/arc.rs b/src/liballoc/arc.rs index 3afc34be2ca..554ca3ea539 100644 --- a/src/liballoc/arc.rs +++ b/src/liballoc/arc.rs @@ -77,7 +77,6 @@ use core::atomic; use core::atomic::Ordering::{Relaxed, Release, Acquire, SeqCst}; use core::fmt; use core::cmp::Ordering; -use core::default::Default; use core::mem::{min_align_of, size_of}; use core::mem; use core::nonzero::NonZero; diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs index 009266c3d2c..7696abd659f 100644 --- a/src/liballoc/boxed.rs +++ b/src/liballoc/boxed.rs @@ -55,7 +55,6 @@ use core::prelude::*; use core::any::Any; use core::cmp::Ordering; -use core::default::Default; use core::fmt; use core::hash::{self, Hash}; use core::mem; |
