satisfy linter

This commit is contained in:
Corwin Kuiper 2021-06-28 01:32:10 +01:00
parent f8fb6ba7b4
commit 47f8ee5b70
3 changed files with 2 additions and 4 deletions

View file

@ -13,7 +13,7 @@ struct Vector2D {
#[no_mangle] #[no_mangle]
pub fn main() -> ! { pub fn main() -> ! {
let mut gba = agb::Gba::new(); 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(); let mut input = agb::input::ButtonController::new();
loop { loop {

View file

@ -4,8 +4,6 @@
extern crate agb; extern crate agb;
#[no_mangle] #[no_mangle]
pub fn main() -> ! { pub fn main() -> ! {
let mut gba = agb::Gba::new();
let vblank = agb::interrupt::VBlank::new(); let vblank = agb::interrupt::VBlank::new();
let mut count = 0; let mut count = 0;

View file

@ -4,7 +4,7 @@
extern crate agb; extern crate agb;
use agb::{ use agb::{
display::{example_logo, tiled0::Background}, display::example_logo,
interrupt::{Interrupt, Mutex}, interrupt::{Interrupt, Mutex},
number::FixedNum, number::FixedNum,
}; };