fix(stage0-ci): satisfy strict clippy gates

This commit is contained in:
Valentin Popov committed 2026-06-25 11:45:40 +04:00
1 parent 5a60671bd6
commit e572558d5f
6 files changed
+16 -13

No files matched your search

+5 -1
View File
@@ -729,7 +729,11 @@ impl AtomicWindowPhase {
}
fn status(&self) -> &'static str {
WindowPhase::from_u8(self.0.load(Ordering::SeqCst) as u8).status()
match u8::try_from(self.0.load(Ordering::SeqCst)) {
Ok(value) => WindowPhase::from_u8(value),
Err(_) => WindowPhase::NotStarted,
}
.status()
}
}