From c80d3121c1b46e1f60466a40fa9e2a163f482280 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Thu, 5 Dec 2024 20:10:32 +0100 Subject: [PATCH] Elide redundant lifetime --- crates/fj-viewer/src/assets.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/fj-viewer/src/assets.rs b/crates/fj-viewer/src/assets.rs index 49f94cf47..4c87ac0ef 100644 --- a/crates/fj-viewer/src/assets.rs +++ b/crates/fj-viewer/src/assets.rs @@ -9,7 +9,7 @@ pub struct Assets<'a> { pub bottom_texture: &'a [u8], } -impl<'a> Assets<'a> { +impl Assets<'_> { pub fn get_instance() -> Self { let cube_obj: &[u8] = include_bytes!("../assets/navigation_cube/cube.obj");