summary refs log tree commit diff stats
path: root/lib/pure/ioselectors.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pure/ioselectors.nim')
-rw-r--r--lib/pure/ioselectors.nim8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/pure/ioselectors.nim b/lib/pure/ioselectors.nim
index adb3497ac..744bdbaa1 100644
--- a/lib/pure/ioselectors.nim
+++ b/lib/pure/ioselectors.nim
@@ -52,13 +52,13 @@ when defined(nimdoc):
       Vnode,       ## BSD specific file change happens
       User,        ## User event is raised
       Error,       ## Error happens while waiting, for descriptor
-      VnodeWrite,  ## NOTE_WRITE (BSD specific, write to file occured)
-      VnodeDelete, ## NOTE_DELETE (BSD specific, unlink of file occured)
+      VnodeWrite,  ## NOTE_WRITE (BSD specific, write to file occurred)
+      VnodeDelete, ## NOTE_DELETE (BSD specific, unlink of file occurred)
       VnodeExtend, ## NOTE_EXTEND (BSD specific, file extended)
       VnodeAttrib, ## NOTE_ATTRIB (BSD specific, file attributes changed)
       VnodeLink,   ## NOTE_LINK (BSD specific, file link count changed)
       VnodeRename, ## NOTE_RENAME (BSD specific, file renamed)
-      VnodeRevoke  ## NOTE_REVOKE (BSD specific, file revoke occured)
+      VnodeRevoke  ## NOTE_REVOKE (BSD specific, file revoke occurred)
 
     ReadyKey*[T] = object
       ## An object which holds result for descriptor
@@ -140,7 +140,7 @@ when defined(nimdoc):
 
   proc flush*[T](s: Selector[T]) =
     ## Flushes all changes was made to kernel pool/queue.
-    ## This function is usefull only for BSD and MacOS, because
+    ## This function is useful only for BSD and MacOS, because
     ## kqueue supports bulk changes to be made.
     ## On Linux/Windows and other Posix compatible operation systems,
     ## ``flush`` is alias for `discard`.
165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244