Skip to content

Commit

Permalink
fix clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
ibraheemdev committed Jun 11, 2024
1 parent 529227c commit 9b06e42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/uv-distribution/src/pyproject_mut.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ impl PyProjectTomlMut {
}

if to_replace.is_empty() {
deps.push(req.to_string())
deps.push(req.to_string());
} else {
// Replace the first occurrence of the dependency and remove the rest.
deps.replace(to_replace[0], req.to_string());
Expand Down

0 comments on commit 9b06e42

Please sign in to comment.