diff --git a/src/lib.rs b/src/lib.rs index dd7238a..81f835e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4,7 +4,8 @@ use { naga::front::wgsl, proc_macro::TokenStream, quote::{format_ident, quote}, - syn::{parse, LitStr}, + std::path::Path, + syn::{LitStr, parse}, }; mod source_reader; @@ -39,9 +40,7 @@ impl ShaderModule { )) } })?; - Ok(Self { - source_file, - }) + Ok(Self { source_file }) } fn emit_rust_code(&self) -> TokenStream {