Skip to content

Commit 3071164

Browse files
committed
refactor(cli/rustup-mode): use new-style string formatting
1 parent 9331603 commit 3071164

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/cli/rustup_mode.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1877,9 +1877,7 @@ fn output_completion_script(
18771877
Shell::Zsh => "/share/zsh/site-functions/_cargo",
18781878
_ => {
18791879
return Err(anyhow!(
1880-
"{} does not currently support completions for {}",
1881-
command,
1882-
shell
1880+
"{command} does not currently support completions for {shell}",
18831881
));
18841882
}
18851883
};

0 commit comments

Comments
 (0)