Skip to content

Commit 8822aa4

Browse files
committed
fix: ensure newline at end of file in useless_conversion test
1 parent 3bde621 commit 8822aa4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/ui/useless_conversion_into_iter_adjustments.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#![warn(clippy::useless_conversion)]
2-
#![allow(clippy::into_iter_on_ref)]
2+
#![allow(clippy::into_iter_on_ref)]
33
fn consume_iter<'a, I>(_: I)
44
where
55
I: IntoIterator<Item = &'a i32>,
@@ -11,4 +11,4 @@ fn main() {
1111
let items = &&[1, 2, 3];
1212
consume_iter(items.into_iter());
1313
//~^ useless_conversion
14-
}
14+
}

0 commit comments

Comments
 (0)