diff options
author | Alexandru Cojocaru <xojoc@gmx.com> | 2015-01-29 22:11:03 +0100 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2015-02-03 16:05:13 +0100 |
commit | 685fee02a0a5cc91bf92f0407f559ba164950a83 (patch) | |
tree | 4f38601714276d2a778b2c7fb65d1b4396ef7f25 /components/script/timers.rs | |
parent | 3da41c2b16d84a8eb4c616b50124afd1252d1123 (diff) | |
download | servo-685fee02a0a5cc91bf92f0407f559ba164950a83.tar.gz servo-685fee02a0a5cc91bf92f0407f559ba164950a83.zip |
add `unwrap` to `send/recv` calls
Diffstat (limited to 'components/script/timers.rs')
-rw-r--r-- | components/script/timers.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/timers.rs b/components/script/timers.rs index d1e6f69907c..a5e0c5bf312 100644 --- a/components/script/timers.rs +++ b/components/script/timers.rs @@ -148,7 +148,7 @@ impl TimerManager { loop { let id = select.wait(); if id == timeout_handle.id() { - timeout_port.recv(); + timeout_port.recv().unwrap(); script_chan.send(ScriptMsg::FireTimer(source, TimerId(handle))); if is_interval == IsInterval::NonInterval { break; |