From 8224827f9046cd2fa647e4a58f228c6d60e7940f Mon Sep 17 00:00:00 2001 From: Gwilym Kuiper Date: Sat, 11 Jun 2022 21:02:24 +0100 Subject: [PATCH] Fix warning (and make it obvious we're not caring about the return value) --- examples/the-purple-night/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/the-purple-night/src/main.rs b/examples/the-purple-night/src/main.rs index 4dc79b56..07fc59cc 100644 --- a/examples/the-purple-night/src/main.rs +++ b/examples/the-purple-night/src/main.rs @@ -2291,7 +2291,7 @@ fn game_with_level(gba: &mut agb::Gba) { } } - rng::gen(); // advance RNG to make it less predictable between runs + let _ = rng::gen(); // advance RNG to make it less predictable between runs }; game.clear(&mut vram);