diff options
Diffstat (limited to 'src/libnative/io')
| -rw-r--r-- | src/libnative/io/timer_unix.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libnative/io/timer_unix.rs b/src/libnative/io/timer_unix.rs index 0a5de325c09..8c6fd83a76b 100644 --- a/src/libnative/io/timer_unix.rs +++ b/src/libnative/io/timer_unix.rs @@ -66,7 +66,7 @@ pub struct Timer { inner: Option<Box<Inner>>, } -struct Inner { +pub struct Inner { cb: Option<Box<rtio::Callback + Send>>, interval: u64, repeat: bool, @@ -74,7 +74,6 @@ struct Inner { id: uint, } -#[allow(visible_private_types)] pub enum Req { // Add a new timer to the helper thread. NewTimer(Box<Inner>), |
