From 5f617a67f61734f4ca899e874a3c572b9a41ea5b Mon Sep 17 00:00:00 2001 From: Robert Garrett Date: Tue, 26 Aug 2025 13:28:39 -0500 Subject: [PATCH] Fix a couple of lints --- src/resources.rs | 2 +- src/widgets/machines.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/resources.rs b/src/resources.rs index db47d7c..ec37833 100644 --- a/src/resources.rs +++ b/src/resources.rs @@ -36,7 +36,7 @@ pub struct UiTheme { } impl FromWorld for UiTheme { - fn from_world(world: &mut World) -> Self { + fn from_world(_world: &mut World) -> Self { Self { pane_bg: SLATE_100.into(), diff --git a/src/widgets/machines.rs b/src/widgets/machines.rs index fcd29a9..ac8c10b 100644 --- a/src/widgets/machines.rs +++ b/src/widgets/machines.rs @@ -87,7 +87,7 @@ impl RotatingMachine { Pickable::default(), )) .with_children(|cmds| { - let button_cmds = cmds.spawn(BigRedButton::bundle("TURN")); + let _button_cmds = cmds.spawn(BigRedButton::bundle("TURN")); // TODO: Attach on-press observer to the button. }); });