summaryrefslogtreecommitdiff
path: root/cli/file_watcher.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/file_watcher.rs')
-rw-r--r--cli/file_watcher.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/file_watcher.rs b/cli/file_watcher.rs
index 3b245e08f..87531bb77 100644
--- a/cli/file_watcher.rs
+++ b/cli/file_watcher.rs
@@ -60,7 +60,7 @@ where
{
let result = watch_future.await;
if let Err(err) = result {
- let msg = format!("{}: {}", colors::red_bold("error"), err.to_string(),);
+ let msg = format!("{}: {}", colors::red_bold("error"), err);
eprintln!("{}", msg);
}
}