diff options
| author | bors <bors@rust-lang.org> | 2014-07-13 21:01:28 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-07-13 21:01:28 +0000 |
| commit | ffd9966c79ad034fe16e66e6c6795473473a6f50 (patch) | |
| tree | e50643ce8f24f411e120b8e1381b026d5d9fadc2 /src/libstd/io/timer.rs | |
| parent | 7a6208f2cc1bbe29dc42b21d27e98894b8bacc04 (diff) | |
| parent | e0ede9c6b3894851b800a323757857eba07943b5 (diff) | |
| download | rust-ffd9966c79ad034fe16e66e6c6795473473a6f50.tar.gz rust-ffd9966c79ad034fe16e66e6c6795473473a6f50.zip | |
auto merge of #15591 : aturon/rust/box-cell-stability, r=alexcrichton
This PR is the outcome of the library stabilization meeting for the `liballoc::owned` and `libcore::cell` modules. Aside from the stability attributes, there are a few breaking changes: * The `owned` modules is now named `boxed`, to better represent its contents. (`box` was unavailable, since it's a keyword.) This will help avoid the misconception that `Box` plays a special role wrt ownership. * The `AnyOwnExt` extension trait is renamed to `BoxAny`, and its `move` method is renamed to `downcast`, in both cases to improve clarity. * The recently-added `AnySendOwnExt` extension trait is removed; it was not being used and is unnecessary. [breaking-change]
Diffstat (limited to 'src/libstd/io/timer.rs')
| -rw-r--r-- | src/libstd/io/timer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/io/timer.rs b/src/libstd/io/timer.rs index 432461c4606..1c9e428dcad 100644 --- a/src/libstd/io/timer.rs +++ b/src/libstd/io/timer.rs @@ -20,7 +20,7 @@ and create receivers which will receive notifications after a period of time. use comm::{Receiver, Sender, channel}; use io::{IoResult, IoError}; use kinds::Send; -use owned::Box; +use boxed::Box; use rt::rtio::{IoFactory, LocalIo, RtioTimer, Callback}; /// A synchronous timer object |
