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

fmt: keep comments after struct decl default value (#7648)

This commit is contained in:
Lukas Neubert
2020-12-28 14:38:21 +01:00
committed by GitHub
parent ecc7c27c9c
commit ef6011b94c
3 changed files with 9 additions and 3 deletions

View File

@ -31,8 +31,7 @@ pub:
id string // unique id of client
pub mut:
conn net.TcpConn // underlying TCP socket connection
// size of nounce used for masking
nonce_size int = 16
nonce_size int = 16 // size of nounce used for masking
panic_on_callback bool // set to true of callbacks can panic
state State // current state of connection
logger &log.Log // logger used to log messages