diff options
author | 2023-01-28 18:34:14 +0100 | |
---|---|---|
committer | 2023-01-28 18:34:14 +0100 | |
commit | cffffff2ddffc6e8d4e430c94ba9d89e4acda44c (patch) | |
tree | 2057c57df0c36096d1c3cd6334bc16e767f8169e /examples/game_of_life/src | |
parent | 818ae4977a36c30a61492f85afa96e261c5d7167 (diff) | |
parent | 42b1bfe66d2407901c1ae640f80ce9e0d3c64b60 (diff) | |
download | iced-cffffff2ddffc6e8d4e430c94ba9d89e4acda44c.tar.gz iced-cffffff2ddffc6e8d4e430c94ba9d89e4acda44c.tar.bz2 iced-cffffff2ddffc6e8d4e430c94ba9d89e4acda44c.zip |
Merge pull request #1681 from pop-os/fix-lints
Fix Clippy Lints
Diffstat (limited to 'examples/game_of_life/src')
-rw-r--r-- | examples/game_of_life/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/game_of_life/src/main.rs b/examples/game_of_life/src/main.rs index b0f1c96d..ed911160 100644 --- a/examples/game_of_life/src/main.rs +++ b/examples/game_of_life/src/main.rs @@ -176,7 +176,7 @@ fn view_controls<'a>( let speed_controls = row![ slider(1.0..=1000.0, speed as f32, Message::SpeedChanged), - text(format!("x{}", speed)).size(16), + text(format!("x{speed}")).size(16), ] .width(Length::Fill) .align_items(Alignment::Center) |