Skip to content

Commit

Permalink
Fix Clippy warning about while-let construction
Browse files Browse the repository at this point in the history
  • Loading branch information
lucperkins committed Jun 19, 2024
1 parent 4c5bb31 commit df88aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/push_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ fn get_project_owner_and_name(
let mut s = String::from(subgroup);
s.push('-');
s.push_str(name);
while let Some(segment) = repository_split.next() {
for segment in repository_split {
s.push('-');
s.push_str(segment);
}
Expand Down

0 comments on commit df88aae

Please sign in to comment.