diff options
| author | Aaron Turon <aturon@mozilla.com> | 2014-08-18 17:52:38 -0700 |
|---|---|---|
| committer | Aaron Turon <aturon@mozilla.com> | 2014-08-28 09:12:54 -0700 |
| commit | 276b8b125d3f60cebab702542b60207429fbb333 (patch) | |
| tree | 022549e5a1b801df28b222d3bcd37194b997b849 /src/libnative/io | |
| parent | 3a52ef4613f85fba1ecfd8746388bf34a5499bf9 (diff) | |
| download | rust-276b8b125d3f60cebab702542b60207429fbb333.tar.gz rust-276b8b125d3f60cebab702542b60207429fbb333.zip | |
Fallout from stabilizing core::option
Diffstat (limited to 'src/libnative/io')
| -rw-r--r-- | src/libnative/io/timer_unix.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnative/io/timer_unix.rs b/src/libnative/io/timer_unix.rs index 06d48f2f886..06b78a54e53 100644 --- a/src/libnative/io/timer_unix.rs +++ b/src/libnative/io/timer_unix.rs @@ -119,7 +119,7 @@ fn helper(input: libc::c_int, messages: Receiver<Req>, _: ()) { let mut timer = match active.shift() { Some(timer) => timer, None => return }; - let mut cb = timer.cb.take_unwrap(); + let mut cb = timer.cb.take().unwrap(); cb.call(); if timer.repeat { timer.cb = Some(cb); |
