core: changing pipes::port/chan_one to Port/ChanOne in unsafe.rs

This commit is contained in:
Jeff Olson 2012-08-21 15:20:10 -07:00 committed by Brian Anderson
parent 70e5a19ebf
commit a8fc771f20

View File

@ -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))
};