mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 00:01:34 +11:00
Fix clippy lints in games too
This commit is contained in:
parent
828339779b
commit
9648d3e22a
|
@ -100,7 +100,7 @@ struct Construction<'a, 'b> {
|
|||
background: &'a mut MapLoan<'b, RegularMap>,
|
||||
}
|
||||
|
||||
impl<'a, 'b> Drop for Construction<'a, 'b> {
|
||||
impl Drop for Construction<'_, '_> {
|
||||
fn drop(&mut self) {
|
||||
self.background.set_visible(false);
|
||||
}
|
||||
|
|
|
@ -273,7 +273,7 @@ struct Map<'a, 'b> {
|
|||
level: &'a Level,
|
||||
}
|
||||
|
||||
impl<'a, 'b> Map<'a, 'b> {
|
||||
impl Map<'_, '_> {
|
||||
pub fn commit_position(&mut self, vram: &mut VRamManager) {
|
||||
self.background.set_pos(vram, self.position.floor());
|
||||
self.foreground.set_pos(vram, self.position.floor());
|
||||
|
|
Loading…
Reference in a new issue