Elide redundant lifetime

This commit is contained in:
Hanno Braun 2024-12-05 20:10:32 +01:00
parent ef949d9fa7
commit c80d3121c1
1 changed files with 1 additions and 1 deletions

View File

@ -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");