Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
refactor(cli/rustup-mode): use new-style string formatting
  • Loading branch information
rami3l committed Nov 23, 2025
commit 30711645f40a9d99c2f03a77ce63a315974b80f5
4 changes: 1 addition & 3 deletions src/cli/rustup_mode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1877,9 +1877,7 @@ fn output_completion_script(
Shell::Zsh => "/share/zsh/site-functions/_cargo",
_ => {
return Err(anyhow!(
"{} does not currently support completions for {}",
command,
shell
"{command} does not currently support completions for {shell}",
));
}
};
Expand Down