From 7a76ab4d30e050e903200f4c2cb48feb02bd27b0 Mon Sep 17 00:00:00 2001 From: Integral Date: Sat, 14 Dec 2024 18:25:12 +0000 Subject: [PATCH] fix: build failure (codeberg #10) Reviewed-on: https://codeberg.org/iff/pay-respects/pulls/10 Co-authored-by: Integral Co-committed-by: Integral --- module-runtime-rules/src/replaces.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module-runtime-rules/src/replaces.rs b/module-runtime-rules/src/replaces.rs index ab57ae8..90952ec 100644 --- a/module-runtime-rules/src/replaces.rs +++ b/module-runtime-rules/src/replaces.rs @@ -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 == ')'); suggest_typo( &split_command[index], - eval_shell_command(shell, function), + &eval_shell_command(shell, function), executables, ) } else { - suggest_typo(&split_command[index], match_list, executables) + suggest_typo(&split_command[index], &match_list, executables) }; suggest.replace_range(placeholder, &command);