1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

fmt: write empty or blocks the same as empty fn bodies, empty structs, etc (#9136)

This commit is contained in:
Lukas Neubert
2021-03-06 20:04:51 +01:00
committed by GitHub
parent 7a9d9f1e78
commit fdcfe397d4
17 changed files with 48 additions and 38 deletions

View File

@ -48,7 +48,7 @@ fn start_server(listen_port int) ? {
s.on_close(fn (mut ws websocket.Client, code int, reason string) ? {
// not used
})
s.listen() or { }
s.listen() or {}
}
// ws_test tests connect to the websocket server from websocket client