diff options
Diffstat (limited to 'components/util/task.rs')
-rw-r--r-- | components/util/task.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/util/task.rs b/components/util/task.rs index 362edb6b517..5af0ce9cff0 100644 --- a/components/util/task.rs +++ b/components/util/task.rs @@ -43,13 +43,13 @@ pub fn spawn_named_with_send_on_failure<T: Send>(name: &'static str, }; let watched_name = name.to_string(); - let watcher_name = format!("{:s}Watcher", watched_name); + let watcher_name = format!("{}Watcher", watched_name); TaskBuilder::new().named(watcher_name).spawn(proc() { rtinstrument::instrument(proc() { match future_result.unwrap() { Ok(()) => (), Err(..) => { - debug!("{:s} failed, notifying constellation", name); + debug!("{} failed, notifying constellation", name); dest.send(msg); } } |