From 47f8ee5b700a70fe8cbc8a82031a9fc9f16ec097 Mon Sep 17 00:00:00 2001 From: Corwin Kuiper Date: Mon, 28 Jun 2021 01:32:10 +0100 Subject: [PATCH] satisfy linter --- agb/examples/multiple_video.rs | 2 +- agb/examples/output.rs | 2 -- agb/examples/wave.rs | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/agb/examples/multiple_video.rs b/agb/examples/multiple_video.rs index c8b1a847..226c1afe 100644 --- a/agb/examples/multiple_video.rs +++ b/agb/examples/multiple_video.rs @@ -13,7 +13,7 @@ struct Vector2D { #[no_mangle] pub fn main() -> ! { let mut gba = agb::Gba::new(); - let mut vblank = agb::interrupt::VBlank::new(); + let vblank = agb::interrupt::VBlank::new(); let mut input = agb::input::ButtonController::new(); loop { diff --git a/agb/examples/output.rs b/agb/examples/output.rs index 888e3d66..6eb91406 100644 --- a/agb/examples/output.rs +++ b/agb/examples/output.rs @@ -4,8 +4,6 @@ extern crate agb; #[no_mangle] pub fn main() -> ! { - let mut gba = agb::Gba::new(); - let vblank = agb::interrupt::VBlank::new(); let mut count = 0; diff --git a/agb/examples/wave.rs b/agb/examples/wave.rs index ef665bd6..9c45ff4b 100644 --- a/agb/examples/wave.rs +++ b/agb/examples/wave.rs @@ -4,7 +4,7 @@ extern crate agb; use agb::{ - display::{example_logo, tiled0::Background}, + display::example_logo, interrupt::{Interrupt, Mutex}, number::FixedNum, };