From 0a8566e1b0487c8052a941e11d8d3c83366baf2d Mon Sep 17 00:00:00 2001 From: FredApps <153173854+FredApps@users.noreply.github.com> Date: Thu, 5 Nov 2026 10:39:06 +0100 Subject: [PATCH] perf: the import comes first Co-Authored-By: Claude Opus 5.5 --- apps/vectorcraft-cli/src/perf.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/vectorcraft-cli/src/perf.rs b/apps/vectorcraft-cli/src/perf.rs index 47da3558f..b77222834 100644 --- a/apps/vectorcraft-cli/src/perf.rs +++ b/apps/vectorcraft-cli/src/perf.rs @@ -190,8 +190,8 @@ fn budget_row(name: &str, ms: f64, budget: f64, ok: bool) -> String { /// Tracked rows for pointing at things in an n-path document: what hovering, clicking, marquee /// selection and snapping cost when nothing narrows the search. fn pointing(n: usize, rows: &mut Vec<(String, f64)>) -> Result<(), String> { - let err = |e: vectorcraft_engine::EngineError| e.to_string(); use vectorcraft_engine::tools::{Mods, PointerEvent, PointerKind}; + let err = |e: vectorcraft_engine::EngineError| e.to_string(); let mut s = vectorcraft_engine::Session::new(); s.add_document(synthetic(n)?, None); let view = vectorcraft_engine::ViewInfo { zoom: 1.0, ..Default::default() };