修复局部修改工具编译错误
Project CI / AI game creator shell Rust shard 2/4 (pull_request) Successful in 5m14s
Project CI / AI game creator shell Rust shard 4/4 (pull_request) Successful in 5m22s
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Successful in 5m31s
Project CI / AI game creator shell Rust shard 3/4 (pull_request) Successful in 5m40s
Project CI / AI game creator shell Rust smoke (pull_request) Successful in 1m39s
Project CI / AI game creator shell Rust crates (pull_request) Successful in 1m46s
Project CI / Repository checks (pull_request) Successful in 3m28s
Project CI / Frontend tests (pull_request) Successful in 4m31s
Project CI / Native shell tests (pull_request) Successful in 6m14s
Project CI / Backend tests (pull_request) Successful in 6m58s
Project CI / AI game creator shell web tests (pull_request) Successful in 2m14s

更正编辑范围重叠检查中的闭包变量名
This commit is contained in:
2026-09-15 18:30:45 +08:00
parent 4a284fd980
commit 9682ec182b
@@ -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}"