From 2a9788d26fd1fdb38da695c7960944c6a6b74e76 Mon Sep 17 00:00:00 2001 From: Corwin Kuiper Date: Sat, 5 Jun 2021 14:41:39 +0100 Subject: [PATCH] remove lifetime specifier --- agb/src/display/object.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agb/src/display/object.rs b/agb/src/display/object.rs index a68abb7..5a4e32f 100644 --- a/agb/src/display/object.rs +++ b/agb/src/display/object.rs @@ -153,7 +153,7 @@ impl<'a> ObjectAffine<'a> { } /// Sets the affine matrix to use. Changing the affine matrix will change /// how the sprite is rendered. - pub fn set_affine_mat(&mut self, aff: &'a AffineMatrix) { + pub fn set_affine_mat(&mut self, aff: &AffineMatrix) { self.attributes.set_affine(aff.loan.index); self.aff_id = Some(aff.loan.index); }