Fix a couple of lints
This commit is contained in:
@@ -36,7 +36,7 @@ pub struct UiTheme {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl FromWorld for UiTheme {
|
impl FromWorld for UiTheme {
|
||||||
fn from_world(world: &mut World) -> Self {
|
fn from_world(_world: &mut World) -> Self {
|
||||||
Self {
|
Self {
|
||||||
pane_bg: SLATE_100.into(),
|
pane_bg: SLATE_100.into(),
|
||||||
|
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ impl RotatingMachine {
|
|||||||
Pickable::default(),
|
Pickable::default(),
|
||||||
))
|
))
|
||||||
.with_children(|cmds| {
|
.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.
|
// TODO: Attach on-press observer to the button.
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user