summaryrefslogtreecommitdiff
path: root/cli/file_watcher.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-01-15 01:10:12 -0500
committerGitHub <noreply@github.com>2022-01-15 07:10:12 +0100
commitad224f53c798e8417a63d98daeaf3cadc199666c (patch)
treef323be53d4f5b4289cd04296af1d35028dc23b15 /cli/file_watcher.rs
parent903cb48fe94bbbb0c43f17cf51e84a5583ddb728 (diff)
chore: upgrade to rust 1.58 (#13377)
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);
}
}