Skip to content

Commit

Permalink
style: Don't use unnecessary references
Browse files Browse the repository at this point in the history
  • Loading branch information
notheotherben committed Dec 5, 2024
1 parent 070a28b commit 98c759f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/scratch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()));

Expand Down

0 comments on commit 98c759f

Please sign in to comment.