Fix spellings (#12277) [backport]
This commit is contained in:
parent
9dd297f613
commit
39290cf88c
110 changed files with 166 additions and 166 deletions
|
|
@ -186,7 +186,7 @@ when defined(nimdoc):
|
|||
proc setData*[T](s: Selector[T], fd: SocketHandle|int, data: var T): bool =
|
||||
## Associate application-defined ``data`` with descriptor ``fd``.
|
||||
##
|
||||
## Returns ``true``, if data was succesfully updated, ``false`` otherwise.
|
||||
## Returns ``true``, if data was successfully updated, ``false`` otherwise.
|
||||
|
||||
template isEmpty*[T](s: Selector[T]): bool = # TODO: Why is this a template?
|
||||
## Returns ``true``, if there are no registered events or descriptors
|
||||
|
|
@ -316,7 +316,7 @@ else:
|
|||
|
||||
proc verifySelectParams(timeout: int) =
|
||||
# Timeout of -1 means: wait forever
|
||||
# Anything higher is the time to wait in miliseconds.
|
||||
# Anything higher is the time to wait in milliseconds.
|
||||
doAssert(timeout >= -1, "Cannot select with a negative value, got " & $timeout)
|
||||
|
||||
when defined(linux):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue