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/libsync/raw.rs | |
| parent | 3a52ef4613f85fba1ecfd8746388bf34a5499bf9 (diff) | |
Fallout from stabilizing core::option
Diffstat (limited to 'src/libsync/raw.rs')
| -rw-r--r-- | src/libsync/raw.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsync/raw.rs b/src/libsync/raw.rs index c42d567fc18..ba6d0f03d83 100644 --- a/src/libsync/raw.rs +++ b/src/libsync/raw.rs @@ -259,7 +259,7 @@ impl<'a> Condvar<'a> { // signaller already sent -- I mean 'unconditionally' in contrast // with acquire().) (|| { - let _ = wait_end.take_unwrap().recv(); + let _ = wait_end.take().unwrap().recv(); }).finally(|| { // Reacquire the condvar. match self.order { @@ -318,7 +318,7 @@ impl<'a> Condvar<'a> { condvar_id, "cond.signal_on()", || { - queue.take_unwrap().broadcast() + queue.take().unwrap().broadcast() }) } } |
