mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-18 22:58:34 +01:00
On the Mac Mini native clippy -D warnings failed in the macOS bar module with three findings that the fake-CC check only printed as warnings: the re-exports of ICONS_CACHE and ImageIconId in macos/widgets/mod.rs are unused (they were pub items of the crate root before the module move, which the lint does not flag), and Stroke::new(1.0, ...) in macos/widgets/komorebi.rs:393 falls back to f32. The two re-exports are removed (grep: nothing in the macOS module uses them; the Windows module does and keeps them), the literal is 1.0_f32 (the type it already had). The same sweep removed the #[allow(unused_imports)] re-export of rgba_to_color_image, also unused on macOS. Remaining pub use lines (render, selected_frame, ui, statics, Alignment) are used. Behaviour identical. Gates run: macOS fake-CC check of komorebi-bar and komorebi-bar-macos --all-targets: no warning left in the bar; Windows clippy -D warnings PASS; S/bar2 schemas byte-identical. Not run: native macOS clippy (the Mini).