Skip to content

Commit e91404b

Browse files
author
Michael Wright
committed
Fix clippy warning
1 parent 0fbcb30 commit e91404b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/utils/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1103,7 +1103,7 @@ pub fn without_block_comments(lines: Vec<&str>) -> Vec<&str> {
11031103

11041104
let mut nest_level = 0;
11051105

1106-
for line in lines.into_iter() {
1106+
for line in lines {
11071107
if line.contains("/*") {
11081108
nest_level += 1;
11091109
continue;

0 commit comments

Comments
 (0)