fixed warnings
This commit is contained in:
parent
4d1ab31451
commit
feb4a86594
|
@ -9,7 +9,7 @@ fn init(gsa: &mut Gsa) -> Game {
|
|||
Game {}
|
||||
}
|
||||
|
||||
fn update(game: &mut Game, gsa: &mut Gsa) {
|
||||
fn update(_game: &mut Game, gsa: &mut Gsa) {
|
||||
gsa.sprites[0].pos += gsa.input_dir();
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
use clap::{crate_name, crate_version, Parser, Subcommand};
|
||||
use dunce::canonicalize;
|
||||
use path_slash::PathExt;
|
||||
use std::env::{current_dir, set_current_dir};
|
||||
use std::fs;
|
||||
use std::fs::{write, OpenOptions};
|
||||
use std::io::Write;
|
||||
|
|
|
@ -2,8 +2,7 @@ use crate::buttons::{button_from_gilrs, button_from_scancode};
|
|||
use crate::gsa_render_to_screen::{render_to_screen, render_to_window};
|
||||
use crate::tileset::load_tileset;
|
||||
use crate::{
|
||||
Buttons, Gsa, Sprite, FONT_BOLD, MAX_BACKGROUNDS, MAX_SPRITES, SCREEN_HEIGHT, SCREEN_WIDTH,
|
||||
TRANSPARENT,
|
||||
Buttons, Gsa, Sprite, FONT_BOLD, MAX_SPRITES, SCREEN_HEIGHT, SCREEN_WIDTH, TRANSPARENT,
|
||||
};
|
||||
use clap::crate_version;
|
||||
use gilrs::EventType;
|
||||
|
|
Loading…
Reference in New Issue