mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 00:31:34 +11:00
Merge pull request #115 from corwinkuiper/fix-clippy-for-backgrounds
fix clippy lints
This commit is contained in:
commit
cea4df395f
|
@ -19,9 +19,11 @@ fn main() {
|
||||||
.output()
|
.output()
|
||||||
.expect("failed to compile crt0.s");
|
.expect("failed to compile crt0.s");
|
||||||
|
|
||||||
if !out.status.success() {
|
assert!(
|
||||||
panic!("{}", String::from_utf8_lossy(&out.stderr));
|
out.status.success(),
|
||||||
}
|
"{}",
|
||||||
|
String::from_utf8_lossy(&out.stderr)
|
||||||
|
);
|
||||||
|
|
||||||
println!("cargo:rustc-link-search={}", out_dir);
|
println!("cargo:rustc-link-search={}", out_dir);
|
||||||
}
|
}
|
||||||
|
|
|
@ -80,6 +80,7 @@ impl<'a> MapStorage<'a> {
|
||||||
/// The map background is the method of drawing game maps to the screen. It
|
/// 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
|
/// automatically handles copying the correct portion of a provided map to the
|
||||||
/// assigned block depending on given coordinates.
|
/// assigned block depending on given coordinates.
|
||||||
|
#[allow(dead_code)]
|
||||||
pub struct BackgroundRegular<'a> {
|
pub struct BackgroundRegular<'a> {
|
||||||
background: u8,
|
background: u8,
|
||||||
block: u8,
|
block: u8,
|
||||||
|
|
Loading…
Reference in a new issue