Fix rustfmt errors

This commit is contained in:
mataha 2023-06-06 01:33:19 +02:00
parent 6e88046442
commit 1a403b4322
2 changed files with 1 additions and 2 deletions

View File

@ -102,7 +102,7 @@ mod tests {
#[cfg(windows)]
fn cmd_cmd(cmd: Option<&str>, hook: InitHook, echo: bool, resolve_symlinks: bool) {
let opts = Opts { cmd, hook, echo, resolve_symlinks };
let mut source = Cmd(&opts).render().unwrap();
let source = Cmd(&opts).render().unwrap();
Command::new("cmd.exe")
.args(["/a", "/d", "/e:on", "/q", "/v:off", "/k", "@doskey", "/macros:cmd.exe"])

View File

@ -449,5 +449,4 @@ mod tests_win {
let resolved_path = super::resolve_path(path).unwrap();
assert_eq!(resolved_path.to_str().unwrap(), normalized_form);
}
}