From 39290cf88c5047e86dc4894e3190c63d5985f56f Mon Sep 17 00:00:00 2001 From: Federico Ceratto Date: Fri, 27 Sep 2019 06:02:54 +0100 Subject: Fix spellings (#12277) [backport] --- lib/pure/selectors.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/pure/selectors.nim') 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): -- cgit 1.4.1-2-gfad0