mirror of
https://github.com/vlang/v.git
synced 2025-09-15 07:22:27 +03:00
fmt: remove space in front of ? and ! (#14366)
This commit is contained in:
parent
df029da942
commit
d679146a80
324 changed files with 1865 additions and 1879 deletions
|
@ -6,7 +6,7 @@ import term
|
|||
// this server accepts client connections and broadcast all messages to other connected clients
|
||||
fn main() {
|
||||
println('press ctrl-c to quit...')
|
||||
start_server() ?
|
||||
start_server()?
|
||||
}
|
||||
|
||||
fn start_server() ? {
|
||||
|
@ -20,7 +20,7 @@ fn start_server() ? {
|
|||
return false
|
||||
}
|
||||
return true
|
||||
}) ?
|
||||
})?
|
||||
|
||||
// on_message_ref, broadcast all incoming messages to all clients except the one sent it
|
||||
s.on_message_ref(fn (mut ws websocket.Client, msg &websocket.Message, mut m websocket.Server) ? {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue