mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vfmt: change all '$expr' to '${expr}' (#16428)
This commit is contained in:
@@ -5,10 +5,10 @@ fn ssl_error(ret int, ssl voidptr) !SSLError {
|
||||
res := C.SSL_get_error(ssl, ret)
|
||||
match unsafe { SSLError(res) } {
|
||||
.ssl_error_syscall {
|
||||
return error_with_code('unrecoverable syscall ($res)', res)
|
||||
return error_with_code('unrecoverable syscall (${res})', res)
|
||||
}
|
||||
.ssl_error_ssl {
|
||||
return error_with_code('unrecoverable ssl protocol error ($res)', res)
|
||||
return error_with_code('unrecoverable ssl protocol error (${res})', res)
|
||||
}
|
||||
else {
|
||||
return unsafe { SSLError(res) }
|
||||
|
||||
Reference in New Issue
Block a user