From 312354106d8720eb4ae687e07d18313876c65fad Mon Sep 17 00:00:00 2001 From: Rasmus Melchior Jacobsen Date: Tue, 17 Oct 2023 07:23:56 +0200 Subject: [PATCH] Rename target to patch --- src/cargo_ops/temp_project.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cargo_ops/temp_project.rs b/src/cargo_ops/temp_project.rs index e638d4e..8bbbe53 100644 --- a/src/cargo_ops/temp_project.rs +++ b/src/cargo_ops/temp_project.rs @@ -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)?; } }