diff options
Diffstat (limited to 'lib/pure/selectors.nim')
-rw-r--r-- | lib/pure/selectors.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/selectors.nim b/lib/pure/selectors.nim index 9b149e26c..0ab1e7754 100644 --- a/lib/pure/selectors.nim +++ b/lib/pure/selectors.nim @@ -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): |