mirror of https://github.com/hannobraun/Fornjot
Elide redundant lifetime
This commit is contained in:
parent
ef949d9fa7
commit
c80d3121c1
|
@ -9,7 +9,7 @@ pub struct Assets<'a> {
|
||||||
pub bottom_texture: &'a [u8],
|
pub bottom_texture: &'a [u8],
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> Assets<'a> {
|
impl Assets<'_> {
|
||||||
pub fn get_instance() -> Self {
|
pub fn get_instance() -> Self {
|
||||||
let cube_obj: &[u8] =
|
let cube_obj: &[u8] =
|
||||||
include_bytes!("../assets/navigation_cube/cube.obj");
|
include_bytes!("../assets/navigation_cube/cube.obj");
|
||||||
|
|
Loading…
Reference in New Issue