From 9682ec182b82137f569a71010a93089bbefb6519 Mon Sep 17 00:00:00 2001 From: Linghong Date: Tue, 15 Sep 2026 18:30:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B1=80=E9=83=A8=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E5=B7=A5=E5=85=B7=E7=BC=96=E8=AF=91=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更正编辑范围重叠检查中的闭包变量名 --- apps/ai-game-creator-shell/src-tauri/src/agent/design_tools.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ai-game-creator-shell/src-tauri/src/agent/design_tools.rs b/apps/ai-game-creator-shell/src-tauri/src/agent/design_tools.rs index 954793b1a..5221030b1 100644 --- a/apps/ai-game-creator-shell/src-tauri/src/agent/design_tools.rs +++ b/apps/ai-game-creator-shell/src-tauri/src/agent/design_tools.rs @@ -335,7 +335,7 @@ pub(crate) fn execute_design_file_tool( let end = start + old.len(); if let Some((other_index, _other_start, _other_end)) = matches .iter() - .find(|(_, other_start, other_end)| start < *_other_end && *_other_start < end) + .find(|(_, other_start, other_end)| start < *other_end && *other_start < end) { return Err(format!( "edits[{index}] 与 edits[{other_index}] 修改范围重叠:{display}"