diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-03-08 18:21:49 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-03-27 10:14:50 -0700 |
| commit | bb9172d7b512c36f34d34b024640f030d1fde2eb (patch) | |
| tree | 0e4ea18ae30a12954db6b9fbe95f62222ade9301 /src/libstd/io/timer.rs | |
| parent | bdd24b2a56e8bf6b952bd8880364fb0a57c2c540 (diff) | |
| download | rust-bb9172d7b512c36f34d34b024640f030d1fde2eb.tar.gz rust-bb9172d7b512c36f34d34b024640f030d1fde2eb.zip | |
Fix fallout of removing default bounds
This is all purely fallout of getting the previous commit to compile.
Diffstat (limited to 'src/libstd/io/timer.rs')
| -rw-r--r-- | src/libstd/io/timer.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libstd/io/timer.rs b/src/libstd/io/timer.rs index f64c36c611c..6840c418a9b 100644 --- a/src/libstd/io/timer.rs +++ b/src/libstd/io/timer.rs @@ -18,8 +18,9 @@ and create receivers which will receive notifications after a period of time. */ use comm::Receiver; -use rt::rtio::{IoFactory, LocalIo, RtioTimer}; use io::IoResult; +use kinds::Send; +use rt::rtio::{IoFactory, LocalIo, RtioTimer}; /// A synchronous timer object /// @@ -62,7 +63,7 @@ use io::IoResult; /// # } /// ``` pub struct Timer { - priv obj: ~RtioTimer + priv obj: ~RtioTimer:Send, } /// Sleep the current task for `msecs` milliseconds. |
