Code formatting
This commit is contained in:
parent
2ce14e25d8
commit
56c8652c57
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue