Code formatting

This commit is contained in:
Matthew Gordon 2025-05-10 09:17:45 -03:00
parent 2ce14e25d8
commit 56c8652c57
1 changed files with 3 additions and 4 deletions

View File

@ -4,7 +4,8 @@ use {
naga::front::wgsl, naga::front::wgsl,
proc_macro::TokenStream, proc_macro::TokenStream,
quote::{format_ident, quote}, quote::{format_ident, quote},
syn::{parse, LitStr}, std::path::Path,
syn::{LitStr, parse},
}; };
mod source_reader; mod source_reader;
@ -39,9 +40,7 @@ impl ShaderModule {
)) ))
} }
})?; })?;
Ok(Self { Ok(Self { source_file })
source_file,
})
} }
fn emit_rust_code(&self) -> TokenStream { fn emit_rust_code(&self) -> TokenStream {