remove redundant void return in stdlib (#17464)
This commit is contained in:
parent
a75c4b70e8
commit
4f9aaee1d9
7 changed files with 11 additions and 12 deletions
|
|
@ -200,7 +200,7 @@ when defined(nimHasStyleChecks):
|
|||
|
||||
proc socketError*(socket: Socket, err: int = -1, async = false,
|
||||
lastError = (-1).OSErrorCode,
|
||||
flags: set[SocketFlag] = {}): void {.gcsafe.}
|
||||
flags: set[SocketFlag] = {}) {.gcsafe.}
|
||||
|
||||
proc isDisconnectionError*(flags: set[SocketFlag],
|
||||
lastError: OSErrorCode): bool =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue