mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +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()
|
||||
.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);
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue