Skip to content

Commit

Permalink
Rename target to patch
Browse files Browse the repository at this point in the history
  • Loading branch information
rmja committed Oct 17, 2023
1 parent 21cccca commit 3123541
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cargo_ops/temp_project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,8 @@ impl<'tmp> TempProject<'tmp> {
}
}
if let Some(t) = manifest.patch.as_mut() {
for (_key, target) in t.iter_mut() {
if let Value::Table(ref mut patch) = *target {
for (_key, patch) in t.iter_mut() {
if let Value::Table(ref mut patch) = *patch {
f(patch)?;
}
}
Expand Down

0 comments on commit 3123541

Please sign in to comment.