diff --git a/crates/uv-distribution/src/pyproject_mut.rs b/crates/uv-distribution/src/pyproject_mut.rs index 6023e97d9df5e..e06da1898b495 100644 --- a/crates/uv-distribution/src/pyproject_mut.rs +++ b/crates/uv-distribution/src/pyproject_mut.rs @@ -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());