Skip to content

Commit 2ea7334

Browse files
committed
Clippy
1 parent 0d6781a commit 2ea7334

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/plugins/java/src/maven_plugin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ impl LanguagePlugin for MavenPlugin {
156156
let mut components = file_path.iter();
157157
let mut in_src = false;
158158
let mut in_src_main = false;
159-
while let Some(next) = components.next() {
159+
for next in components {
160160
if in_src_main {
161161
if Path::new(next).extension() == Some(OsStr::new("java")) {
162162
let root = file_path

0 commit comments

Comments
 (0)