summary refs log tree commit diff stats
path: root/lib/pure/asyncfile.nim
diff options
context:
space:
mode:
authorJimmie Houchin <jlhouchin@gmail.com>2018-06-10 23:53:42 -0500
committerVarriount <Varriount@users.noreply.github.com>2018-06-11 00:53:42 -0400
commit657062145ba5303d68e107a6f5fc50513b9d7f49 (patch)
treed856f4edcd7702ecc8652b190dd99686fc154447 /lib/pure/asyncfile.nim
parentdf1784dabf48971792f130c4b77a41c8d011430c (diff)
downloadNim-657062145ba5303d68e107a6f5fc50513b9d7f49.tar.gz
Added FileMode to comment on asyncfile openAsync (#8008)
Diffstat (limited to 'lib/pure/asyncfile.nim')
-rw-r--r--lib/pure/asyncfile.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/asyncfile.nim b/lib/pure/asyncfile.nim
index 1df7c3fc0..37339d3d1 100644
--- a/lib/pure/asyncfile.nim
+++ b/lib/pure/asyncfile.nim
@@ -91,7 +91,7 @@ proc newAsyncFile*(fd: AsyncFd): AsyncFile =
 
 proc openAsync*(filename: string, mode = fmRead): AsyncFile =
   ## Opens a file specified by the path in ``filename`` using
-  ## the specified ``mode`` asynchronously.
+  ## the specified FileMode ``mode`` asynchronously.
   when defined(windows) or defined(nimdoc):
     let flags = FILE_FLAG_OVERLAPPED or FILE_ATTRIBUTE_NORMAL
     let desiredAccess = getDesiredAccess(mode)