From: Joshua Simmons Date: Mon, 29 Apr 2024 18:12:52 +0000 (+0200) Subject: shark-shaders: Remove unnecessary lifetime annotation X-Git-Url: https://git.nega.tv//gitweb.cgi?a=commitdiff_plain;h=0e7406bec5e3c0ad3df8a6ffe38ca9c77b5707fd;p=josh%2Fnarcissus shark-shaders: Remove unnecessary lifetime annotation --- diff --git a/title/shark-shaders/build.rs b/title/shark-shaders/build.rs index 43db457..4934ede 100644 --- a/title/shark-shaders/build.rs +++ b/title/shark-shaders/build.rs @@ -79,7 +79,7 @@ fn main() { for shader in SHADERS { writeln!( file, - "pub const {}_{}_SPV: &'static [u8] = &SpirvBytes(*include_bytes!(\"{out_dir}/{}.{}.spv\")).0;", + "pub const {}_{}_SPV: &[u8] = &SpirvBytes(*include_bytes!(\"{out_dir}/{}.{}.spv\")).0;", shader.name.to_ascii_uppercase(), shader.stage.name().to_ascii_uppercase(), shader.name,