Fix renamed to into_inner() warnings

This commit is contained in:
Matthew Rasmus 2015-01-07 20:26:49 -08:00
parent fc49e10f7e
commit b7a704b416
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ pub fn spawn_named_with_send_on_failure<T: Send>(name: &'static str,
let watcher_name = format!("{}Watcher", watched_name);
TaskBuilder::new().named(watcher_name).spawn(proc() {
//rtinstrument::instrument(proc() {
match future_result.unwrap() {
match future_result.into_inner() {
Ok(()) => (),
Err(..) => {
debug!("{} failed, notifying constellation", name);