Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 70321ca

Browse files
committedJun 5, 2023
Fix rustfmt errors
1 parent 3d79691 commit 70321ca

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed
 

‎src/shell.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ mod tests {
101101
#[cfg(windows)]
102102
fn cmd_cmd(cmd: Option<&str>, hook: InitHook, echo: bool, resolve_symlinks: bool) {
103103
let opts = Opts { cmd, hook, echo, resolve_symlinks };
104-
let mut source = Cmd(&opts).render().unwrap();
104+
let source = Cmd(&opts).render().unwrap();
105105

106106
Command::new("cmd.exe")
107107
.args(["/a", "/d", "/e:on", "/q", "/v:off", "/k", "@doskey", "/macros:cmd.exe"])

‎src/util.rs

-1
Original file line numberDiff line numberDiff line change
@@ -444,5 +444,4 @@ mod tests_win {
444444
let resolved_path = super::resolve_path(path).unwrap();
445445
assert_eq!(resolved_path.to_str().unwrap(), normalized_form);
446446
}
447-
448447
}

0 commit comments

Comments
 (0)
Please sign in to comment.