diff options
author | Dominik Picheta <dominikpicheta@gmail.com> | 2017-11-24 17:51:34 +0000 |
---|---|---|
committer | Dominik Picheta <dominikpicheta@gmail.com> | 2017-11-24 17:51:34 +0000 |
commit | a1e2ec887282d38cae21be0ca3b56718fb36b9cd (patch) | |
tree | 12db11db158860f7459cc33d80ce0b6bb0c338ca | |
parent | 325e4520ec74cd49a21c389bb2d137a74536f062 (diff) | |
download | Nim-a1e2ec887282d38cae21be0ca3b56718fb36b9cd.tar.gz |
Fix typo in asyncfile.
-rw-r--r-- | lib/pure/asyncfile.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/asyncfile.nim b/lib/pure/asyncfile.nim index 6cd62efa4..3a9d26378 100644 --- a/lib/pure/asyncfile.nim +++ b/lib/pure/asyncfile.nim @@ -84,7 +84,7 @@ proc getFileSize*(f: AsyncFile): int64 = proc newAsyncFile*(fd: cint | AsyncFd): AsyncFile = ## Creates `AsyncFile` with a previously opened file descriptor `fd`. new result - result.fd = register(result.fd) + result.fd = register(fd) proc openAsync*(filename: string, mode = fmRead): AsyncFile = ## Opens a file specified by the path in ``filename`` using |