core: changing pipes::port/chan_one to Port/ChanOne in unsafe.rs
This commit is contained in:
parent
70e5a19ebf
commit
a8fc771f20
@ -254,7 +254,7 @@ priv impl 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))
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user