From f4bd6e330df1f3adff54ebd66999d6f237ecbe95 Mon Sep 17 00:00:00 2001 From: Corwin Date: Mon, 1 Aug 2022 22:50:37 +0100 Subject: [PATCH] satisfy linter --- book/games/pong/src/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/book/games/pong/src/main.rs b/book/games/pong/src/main.rs index 218caa25..73916baa 100644 --- a/book/games/pong/src/main.rs +++ b/book/games/pong/src/main.rs @@ -11,7 +11,7 @@ #![no_main] use agb::{ - display::object::{Graphics, ObjectController, Tag}, + display::object::{Graphics, Tag}, include_aseprite, }; @@ -20,7 +20,9 @@ use agb::{ const GRAPHICS: &Graphics = include_aseprite!("gfx/sprites.aseprite"); // We define some easy ways of referencing the sprites +#[allow(dead_code)] const PADDLE_END: &Tag = GRAPHICS.tags().get("Paddle End"); +#[allow(dead_code)] const PADDLE_MID: &Tag = GRAPHICS.tags().get("Paddle Mid"); const BALL: &Tag = GRAPHICS.tags().get("Ball");