diff --git a/src/commands/scratch.rs b/src/commands/scratch.rs index af462c43..e1363a24 100644 --- a/src/commands/scratch.rs +++ b/src/commands/scratch.rs @@ -73,7 +73,7 @@ impl CommandRunnable for ScratchCommand { )] async fn complete(&self, core: &Core, completer: &Completer, _matches: &ArgMatches) { let time = chrono::Local::now(); - completer.offer(&time.format("%Yw%V").to_string()); + completer.offer(time.format("%Yw%V").to_string()); completer.offer_many(core.config().get_apps().map(|a| a.get_name()));