fmt: fix alignment of struct init fields (#22025)

This commit is contained in:
yuyi 2024-08-11 14:11:24 +08:00 committed by GitHub
parent 99da5726db
commit c51d30bf53
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
671 changed files with 18817 additions and 18787 deletions

View file

@ -21,13 +21,13 @@ const sample_doc = '
const xml_elements = [
XMLNode{
name: 'c'
name: 'c'
attributes: {
'id': 'c1'
}
},
XMLNode{
name: 'c'
name: 'c'
attributes: {
'id': 'c2'
}
@ -36,47 +36,47 @@ const xml_elements = [
]
},
XMLNode{
name: 'empty'
name: 'empty'
attributes: {}
},
XMLNode{
name: 'c'
name: 'c'
attributes: {
'id': 'c3'
}
},
XMLNode{
name: 'abc'
name: 'abc'
attributes: {
'id': 'c4'
}
},
XMLNode{
name: 'xyz'
name: 'xyz'
attributes: {
'id': 'c5'
}
},
XMLNode{
name: 'c'
name: 'c'
attributes: {
'id': 'c6'
}
},
XMLNode{
name: 'cx'
name: 'cx'
attributes: {
'id': 'c7'
}
},
XMLNode{
name: 'cd'
name: 'cd'
attributes: {
'id': 'c8'
}
},
XMLNode{
name: 'child'
name: 'child'
attributes: {
'id': 'c9'
}
@ -85,7 +85,7 @@ const xml_elements = [
]
},
XMLNode{
name: 'cz'
name: 'cz'
attributes: {
'id': 'c10'
}