Skip to content

Commit 1810347

Browse files
authored
Remove unnecessary #![allow] in test (#15675)
Noticed while working on #15673. changelog: none
2 parents cb286b4 + 074bff0 commit 1810347

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)