clippy: fix dead-code and question-mark warnings
All checks were successful
dev release / build (push) Successful in 2m0s

- meta.rs/tour.rs/troubleshoot.rs: annotate content-schema fields that
  real TOML content already populates but no UI reads yet, instead of
  dropping them
- hyprland.rs: drop Monitor's x/y/width/height, genuinely unused
  anywhere and not part of any authored content schema
- tour/mod.rs: collapse a let-else into ? in the Option-returning
  on_tour_event closure

(cherry picked from commit 4497eca4661112f808d33ef477265d39e0e0a601)
This commit is contained in:
Breadway 2026-08-06 08:51:24 +08:00
parent 03517d9b0f
commit e27c497df8
5 changed files with 19 additions and 5 deletions

View file

@ -28,10 +28,6 @@ pub struct Client {
pub struct Monitor {
pub id: i32,
pub name: String,
pub x: i32,
pub y: i32,
pub width: i32,
pub height: i32,
pub focused: bool,
}