From 56c8652c5738b48e68be414458edf14805d55b71 Mon Sep 17 00:00:00 2001 From: Matthew Gordon Date: Sat, 10 May 2025 09:17:45 -0300 Subject: [PATCH] Code formatting --- src/lib.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 {