mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-11 22:10:09 +01:00
fix: build failure (codeberg #10)
Reviewed-on: https://codeberg.org/iff/pay-respects/pulls/10 Co-authored-by: Integral <integral@member.fsf.org> Co-committed-by: Integral <integral@member.fsf.org>
This commit is contained in:
parent
aae2ce09f0
commit
7a76ab4d30
1 changed files with 2 additions and 2 deletions
|
|
@ -162,11 +162,11 @@ pub fn typo(suggest: &mut String, split_command: &[String], executables: &[Strin
|
||||||
let function = &function[args.to_owned()].trim_matches(|c| c == '(' || c == ')');
|
let function = &function[args.to_owned()].trim_matches(|c| c == '(' || c == ')');
|
||||||
suggest_typo(
|
suggest_typo(
|
||||||
&split_command[index],
|
&split_command[index],
|
||||||
eval_shell_command(shell, function),
|
&eval_shell_command(shell, function),
|
||||||
executables,
|
executables,
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
suggest_typo(&split_command[index], match_list, executables)
|
suggest_typo(&split_command[index], &match_list, executables)
|
||||||
};
|
};
|
||||||
|
|
||||||
suggest.replace_range(placeholder, &command);
|
suggest.replace_range(placeholder, &command);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue