mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 04:55:22 +03:00
core: changing pipes::port/chan_one to Port/ChanOne in unsafe.rs
This commit is contained in:
committed by
Brian Anderson
parent
70e5a19ebf
commit
a8fc771f20
+1
-1
@@ -254,7 +254,7 @@ fn consume() -> TaskBuilder {
|
||||
}
|
||||
self.consumed = true;
|
||||
let notify_chan = if self.opts.notify_chan == None {
|
||||
None
|
||||
none
|
||||
} else {
|
||||
Some(option::swap_unwrap(&mut self.opts.notify_chan))
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user