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

@ -211,12 +211,12 @@ fn main() {
first_article := Article{
title: 'Hello, world!'
text: 'V is great.'
text: 'V is great.'
}
second_article := Article{
title: 'Second post.'
text: 'Hm... what should I write about?'
text: 'Hm... what should I write about?'
}
sql app.db {
@ -423,4 +423,4 @@ Without this flag mbedtls will be embedded, and the binary size will increase to
### To be continued...
For an example of a more sophisticated web app written in V, check out Vorum: https://github.com/vlang/vorum
For an example of a more sophisticated web app written in V, check out Vorum: https://github.com/vlang/vorum

View file

@ -55,7 +55,7 @@ pub fn (mut app App) new_article(title string, text string) vweb.Result {
}
article := Article{
title: title
text: text
text: text
}
println('posting article')
println(article)