fix: resolve clippy pedantic warnings

Apply the bounded clippy pedantic cleanup from PR #3009.
This commit is contained in:
Heo, Sung authored and GitHub committed 2026-06-03 20:39:05 +09:00
1 parent 1bd18be372
commit 0cef5390f7
2 files changed
+11 -14

No files matched your search

+1 -1
View File
@@ -737,7 +737,7 @@ fn format_hook_failure(command: &str, code: i32, stdout: Option<&str>, stderr: &
fn shell_command(command: &str) -> CommandWithStdin {
#[cfg(windows)]
let mut command_builder = {
let command_builder = {
let mut command_builder = Command::new("cmd");
command_builder.arg("/C").arg(command);
CommandWithStdin::new(command_builder)