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
@@ -254,7 +254,7 @@ priv impl TaskBuilder {
|
|||||||
}
|
}
|
||||||
self.consumed = true;
|
self.consumed = true;
|
||||||
let notify_chan = if self.opts.notify_chan == None {
|
let notify_chan = if self.opts.notify_chan == None {
|
||||||
None
|
none
|
||||||
} else {
|
} else {
|
||||||
Some(option::swap_unwrap(&mut self.opts.notify_chan))
|
Some(option::swap_unwrap(&mut self.opts.notify_chan))
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user