Tests: the Scripts menu tests import Duration again

main does not compile its ui-egui tests: crates/ui-egui/src/tests/scripts_menu.rs uses
Duration at lines 37, 320 and 324 without importing it (error E0433, "cannot find type
`Duration`"). #9816 removed the `use std::time::Duration;` line when its own uses went
away, and a354d09af4, merged at about the same time, added new uses of Duration in the
same file. Each passed CI on its own head; the two together do not build.
This commit is contained in:
dotCooCoo committed 2026-11-27 23:00:30 -08:00
1 parent 5b958a3d4f
commit 6d457aa5e9
1 file changed
+1
+1
View File
@@ -3,6 +3,7 @@
//! is gone, the notes and the reads of the folder.
use std::sync::Arc;
use std::time::Duration;
use craft::host::{AppInfo, Host, ManualJobs, ThreadJobs};
use craft::menu::Node;