mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
fmt: fix alignment of struct init fields (#22025)
This commit is contained in:
parent
99da5726db
commit
c51d30bf53
671 changed files with 18817 additions and 18787 deletions
|
@ -33,9 +33,9 @@ fn (node XMLNode) validate(elements map[string]DTDElement, entities map[string]s
|
|||
}
|
||||
|
||||
return XMLNode{
|
||||
name: node.name
|
||||
name: node.name
|
||||
attributes: node.attributes
|
||||
children: children
|
||||
children: children
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -80,11 +80,11 @@ pub fn (doc XMLDocument) validate() !XMLDocument {
|
|||
}
|
||||
|
||||
return XMLDocument{
|
||||
version: doc.version
|
||||
encoding: doc.encoding
|
||||
doctype: doc.doctype
|
||||
comments: doc.comments
|
||||
root: new_root
|
||||
version: doc.version
|
||||
encoding: doc.encoding
|
||||
doctype: doc.doctype
|
||||
comments: doc.comments
|
||||
root: new_root
|
||||
parsed_reverse_entities: reverse_entities
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue