Skip to content

Commit e3ce2bd

Browse files
committed
Remove needless borrow to fix Clippy warning
1 parent c0b7159 commit e3ce2bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/lint/test_runner/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ fn lint_scripted_diff() -> LintResult {
250250

251251
fn lint_commit_msg() -> LintResult {
252252
let mut good = true;
253-
let commit_hashes = check_output(git().args(&[
253+
let commit_hashes = check_output(git().args([
254254
"-c",
255255
"log.showSignature=false",
256256
"log",

0 commit comments

Comments
 (0)