mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
auto clippy fixes
This commit is contained in:
parent
72c85efc83
commit
ef39bad7c6
146 changed files with 750 additions and 1005 deletions
|
@ -112,12 +112,11 @@ fn check_command_available(command_name: &str) -> bool {
|
|||
|
||||
cmd.args([command_name]);
|
||||
|
||||
let cmd_str = format!("{:?}", cmd);
|
||||
let cmd_str = format!("{cmd:?}");
|
||||
|
||||
let cmd_out = cmd.output().unwrap_or_else(|err| {
|
||||
panic!(
|
||||
"Failed to execute `{}` to check if {} is available:\n {}",
|
||||
cmd_str, command_name, err
|
||||
"Failed to execute `{cmd_str}` to check if {command_name} is available:\n {err}"
|
||||
)
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue