core: changing pipes::port/chan_one to Port/ChanOne in unsafe.rs
This commit is contained in:
parent
70e5a19ebf
commit
a8fc771f20
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue