diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-03-31 10:15:32 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-03-31 15:49:11 -0700 |
| commit | d03120afd36f9e3f4c1305e9e5ca0d24a3b4a32f (patch) | |
| tree | f0eaf7535052e2be593c04d55b42ba1c019497c9 /src/libstd/thread | |
| parent | 890f0ab10a81720606805db36628f61f29d0e816 (diff) | |
| parent | f19e763e0824a73118ed715f526cb7bdd584d4c4 (diff) | |
| download | rust-d03120afd36f9e3f4c1305e9e5ca0d24a3b4a32f.tar.gz rust-d03120afd36f9e3f4c1305e9e5ca0d24a3b4a32f.zip | |
rollup merge of #23876: alexcrichton/stabilize-any
This commit stabilizes the following APIs: * `TypeId::of` - now that it has an `Any` bound it's ready to be stable. * `Box<Any>::downcast` - now that an inherent impl on `Box<Any>` as well as `Box<Any+Send>` is allowed the `BoxAny` trait is removed in favor of these inherent methods. This is a breaking change due to the removal of the `BoxAny` trait, but consumers can simply remove imports to fix crates. [breaking-change]
Diffstat (limited to 'src/libstd/thread')
| -rw-r--r-- | src/libstd/thread/mod.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstd/thread/mod.rs b/src/libstd/thread/mod.rs index 074030bd07b..863291ff542 100644 --- a/src/libstd/thread/mod.rs +++ b/src/libstd/thread/mod.rs @@ -810,7 +810,6 @@ mod test { use any::Any; use sync::mpsc::{channel, Sender}; - use boxed::BoxAny; use result; use std::old_io::{ChanReader, ChanWriter}; use super::{Builder}; |
