diff options
author | metamuffin <metamuffin@disroot.org> | 2024-07-18 15:52:12 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-07-18 15:52:12 +0200 |
commit | 1bff001db2914e8ee7bc331a4104592ad6e2e9a3 (patch) | |
tree | 28b12471e0dc905a8135123df8ddf400c24ed8b2 /pixel-client/tools | |
parent | 1dd3f549debdffd85639d74248a12dd884c5a59b (diff) | |
download | hurrycurry-1bff001db2914e8ee7bc331a4104592ad6e2e9a3.tar hurrycurry-1bff001db2914e8ee7bc331a4104592ad6e2e9a3.tar.bz2 hurrycurry-1bff001db2914e8ee7bc331a4104592ad6e2e9a3.tar.zst |
clippy
Diffstat (limited to 'pixel-client/tools')
-rw-r--r-- | pixel-client/tools/src/bin/bunnymark.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pixel-client/tools/src/bin/bunnymark.rs b/pixel-client/tools/src/bin/bunnymark.rs index f59fecff..b9e4b0ae 100644 --- a/pixel-client/tools/src/bin/bunnymark.rs +++ b/pixel-client/tools/src/bin/bunnymark.rs @@ -28,7 +28,7 @@ const WIDTH: i32 = 1920; const HEIGHT: i32 = 1080; pub fn main() { - let amount = std::env::args().skip(1).next().unwrap().parse().unwrap(); + let amount = std::env::args().nth(1).unwrap().parse().unwrap(); let sdl_context = sdl2::init().unwrap(); let video_subsystem = sdl_context.video().unwrap(); |