1
0
Fork 0
mirror of https://github.com/italicsjenga/agb.git synced 2025-01-13 02:21:33 +11:00

fix clippy lints

This commit is contained in:
Corwin Kuiper 2021-10-04 20:56:28 +01:00
parent 94309a2518
commit df98f58c0e
2 changed files with 6 additions and 3 deletions
agb

View file

@ -19,9 +19,11 @@ fn main() {
.output()
.expect("failed to compile crt0.s");
if !out.status.success() {
panic!("{}", String::from_utf8_lossy(&out.stderr));
}
assert!(
out.status.success(),
"{}",
String::from_utf8_lossy(&out.stderr)
);
println!("cargo:rustc-link-search={}", out_dir);
}

View file

@ -80,6 +80,7 @@ impl<'a> MapStorage<'a> {
/// The map background is the method of drawing game maps to the screen. It
/// automatically handles copying the correct portion of a provided map to the
/// assigned block depending on given coordinates.
#[allow(dead_code)]
pub struct BackgroundRegular<'a> {
background: u8,
block: u8,