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