Skip to content

Commit 074bff0

Browse files
committed
Remove unnecessary #![allow] in test
1 parent 544e24a commit 074bff0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/ui/never_loop_fixable.fixed

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![allow(clippy::iter_next_slice, clippy::needless_return, clippy::redundant_pattern_matching)]
1+
#![allow(clippy::iter_next_slice, clippy::needless_return)]
22

33
fn no_break_or_continue_loop() {
44
if let Some(i) = [1, 2, 3].iter().next() {

tests/ui/never_loop_fixable.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![allow(clippy::iter_next_slice, clippy::needless_return, clippy::redundant_pattern_matching)]
1+
#![allow(clippy::iter_next_slice, clippy::needless_return)]
22

33
fn no_break_or_continue_loop() {
44
for i in [1, 2, 3].iter() {

0 commit comments

Comments
 (0)