Skip to content

Commit cb58088

Browse files
committed
Auto merge of #4909 - zackmdavis:tidy_paren, r=matklad
unblock rust-lang/rust#46980 by cleaning up an unused pair of parentheses While this might seem like too trivial of a stylistic nitpick to deserve its own commit, this [is needed to unblock](rust-lang/rust#46980 (comment)) the PR rust-lang/rust#46980 (which makes the unused-parens lint look at function arguments, which it previously didn't).
2 parents a44612f + 16bb936 commit cb58088

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/ops/cargo_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ fn run_unit_tests(options: &TestOptions,
120120
let (kind, test, e) = errors.pop().unwrap();
121121
Ok((Test::UnitTest(kind, test), vec![e]))
122122
} else {
123-
Ok((Test::Multiple, errors.into_iter().map((|(_, _, e)| e)).collect()))
123+
Ok((Test::Multiple, errors.into_iter().map(|(_, _, e)| e).collect()))
124124
}
125125
}
126126

0 commit comments

Comments
 (0)