diff options
author | Valentin Anger <syrupthinker@gryphno.de> | 2020-06-29 14:17:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-29 14:17:37 +0200 |
commit | db36857288609858ada259444509a31637980ce3 (patch) | |
tree | 9fc83f32408941bdf75d803b4b0dbffe297c10f2 /cli/file_fetcher.rs | |
parent | 0374eadcf7ecb054dae1b1587843a2006fdf4c2d (diff) |
refactor: util functions take slices instead of heap values (#6547)
Diffstat (limited to 'cli/file_fetcher.rs')
-rw-r--r-- | cli/file_fetcher.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cli/file_fetcher.rs b/cli/file_fetcher.rs index 1a60e22c2..93301d1fc 100644 --- a/cli/file_fetcher.rs +++ b/cli/file_fetcher.rs @@ -448,11 +448,7 @@ impl SourceFileFetcher { .boxed_local(); } - info!( - "{} {}", - colors::green("Download".to_string()), - module_url.to_string() - ); + info!("{} {}", colors::green("Download"), module_url.to_string()); let dir = self.clone(); let module_url = module_url.clone(); |