summaryrefslogtreecommitdiff
path: root/cli/fmt.rs
diff options
context:
space:
mode:
authorValentin Anger <syrupthinker@gryphno.de>2020-06-29 14:17:37 +0200
committerGitHub <noreply@github.com>2020-06-29 14:17:37 +0200
commitdb36857288609858ada259444509a31637980ce3 (patch)
tree9fc83f32408941bdf75d803b4b0dbffe297c10f2 /cli/fmt.rs
parent0374eadcf7ecb054dae1b1587843a2006fdf4c2d (diff)
refactor: util functions take slices instead of heap values (#6547)
Diffstat (limited to 'cli/fmt.rs')
-rw-r--r--cli/fmt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/fmt.rs b/cli/fmt.rs
index 025adc83f..b41ef0d45 100644
--- a/cli/fmt.rs
+++ b/cli/fmt.rs
@@ -69,7 +69,7 @@ async fn check_source_files(
println!();
println!(
"{} {}:",
- colors::bold("from".to_string()),
+ colors::bold("from"),
file_path.display().to_string()
);
println!("{}", diff);