summary refs log tree commit diff stats
path: root/lib/system.nim
diff options
context:
space:
mode:
authorSimon Ruderich <simon@ruderich.org>2016-09-15 04:24:45 +0200
committerSimon Ruderich <simon@ruderich.org>2016-09-15 11:43:58 +0200
commita61e6b0d65a9ae6424a2752fa04001fbfe266e56 (patch)
tree8adb52b51c3b71da8796390504d4b153c63e2481 /lib/system.nim
parentd255bf498c912779d599fb8ee73f587370f2176c (diff)
downloadNim-a61e6b0d65a9ae6424a2752fa04001fbfe266e56.tar.gz
system: writeLine: escape \n in documentation
Diffstat (limited to 'lib/system.nim')
-rw-r--r--lib/system.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 2eda63163..16258988f 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -2794,7 +2794,7 @@ when not defined(JS): #and not defined(nimscript):
 
     proc writeLine*[Ty](f: File, x: varargs[Ty, `$`]) {.inline,
                              tags: [WriteIOEffect], benign.}
-      ## writes the values `x` to `f` and then writes "\n".
+      ## writes the values `x` to `f` and then writes "\\n".
       ## May throw an IO exception.
 
     proc getFileSize*(f: File): int64 {.tags: [ReadIOEffect], benign.}