From a857b49af4bb5157fcc03c7722721390b52f28a6 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Thu, 3 Dec 2026 08:46:32 -0800 Subject: [PATCH] Main: removeAll on a clipping path passes on a stale-point error #10682 made paths::see_all_points return a Result; d22384d6 had added a call in the mask-release path of removeAll that ignored it, so clippy -D warnings fails on main. The call now passes the error on with ?, as the other three callers do. --- crates/engine/src/script/dom.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/engine/src/script/dom.rs b/crates/engine/src/script/dom.rs index edd447afa3..1dda97ad95 100644 --- a/crates/engine/src/script/dom.rs +++ b/crates/engine/src/script/dom.rs @@ -2863,7 +2863,7 @@ fn item_remove(h: &Host, a: &[Data]) -> Answer { } // A compound path whose last path this is stays, empty, as it does after `move`. let params = json!({"ids": [item.id.0], "keepEmpty": true}); - paths::see_all_points(h); + paths::see_all_points(h)?; let kept = h.dom.editing.replace(Some(item)); let r = atomically(h, |h| on_doc(h, item.doc.uid, true, |h| clear_releasing(h, &released, ¶ms))); h.dom.editing.set(kept);