mirror of
https://gitlab.cern.ch/wotsubo/endcap-sl-software-ri-generator.git
synced 2025-04-25 06:06:00 +09:00
format
This commit is contained in:
parent
516cfa9151
commit
b8d18b26fc
1 changed files with 1 additions and 4 deletions
|
@ -174,10 +174,7 @@ This code is auto generated using endcap_sl_software_ri_generator.
|
||||||
files
|
files
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.map(|(path, tokens)| -> Result<(PathBuf, syn::File), _> {
|
.map(|(path, tokens)| -> Result<(PathBuf, syn::File), _> {
|
||||||
let tokens = if path
|
let tokens = if path.file_name().is_some_and(|file| file == "mod.rs") {
|
||||||
.file_name()
|
|
||||||
.is_some_and(|file| file == "mod.rs")
|
|
||||||
{
|
|
||||||
quote! {
|
quote! {
|
||||||
#![doc = #build_metadata]
|
#![doc = #build_metadata]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue