mirror of
https://github.com/vlang/v.git
synced 2025-09-15 15:32:27 +03:00
vfmt: change all '$expr' to '${expr}' (#16428)
This commit is contained in:
parent
56239b4a23
commit
017ace6ea7
859 changed files with 7156 additions and 7135 deletions
|
@ -19,7 +19,7 @@ fn main() {
|
|||
listener.close() or {}
|
||||
}
|
||||
addr := listener.addr()!
|
||||
eprintln('Listening on $addr')
|
||||
eprintln('Listening on ${addr}')
|
||||
eprintln('Type `stop` to stop the server')
|
||||
|
||||
// create file descriptor notifier
|
||||
|
@ -40,10 +40,10 @@ fn main() {
|
|||
if _ := notifier.add(conn.sock.handle, .read | .peer_hangup) {
|
||||
eprintln('connected')
|
||||
} else {
|
||||
eprintln('error adding to notifier: $err')
|
||||
eprintln('error adding to notifier: ${err}')
|
||||
}
|
||||
} else {
|
||||
eprintln('unable to accept: $err')
|
||||
eprintln('unable to accept: ${err}')
|
||||
}
|
||||
}
|
||||
0 {
|
||||
|
@ -60,7 +60,7 @@ fn main() {
|
|||
if _ := notifier.remove(event.fd) {
|
||||
eprintln('remote disconnected')
|
||||
} else {
|
||||
eprintln('error removing from notifier: $err')
|
||||
eprintln('error removing from notifier: ${err}')
|
||||
}
|
||||
} else {
|
||||
s, _ := os.fd_read(event.fd, 10)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue