style: format
This commit is contained in:
parent
4519e2b8cc
commit
8238c36f5f
2 changed files with 5 additions and 4 deletions
|
|
@ -736,9 +736,11 @@ pub fn generate_node_types_json(
|
|||
.unwrap_or(&empty)
|
||||
.iter()
|
||||
.map(move |alias| {
|
||||
alias.as_ref().map_or((&token.name, token.kind, symbol), |alias| {
|
||||
(&alias.value, alias.kind(), symbol)
|
||||
})
|
||||
alias
|
||||
.as_ref()
|
||||
.map_or((&token.name, token.kind, symbol), |alias| {
|
||||
(&alias.value, alias.kind(), symbol)
|
||||
})
|
||||
})
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -1700,7 +1700,6 @@ impl Generator {
|
|||
)
|
||||
}
|
||||
|
||||
|
||||
fn field_id(&self, field_name: &str) -> String {
|
||||
format!("field_{field_name}")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue