system: writeLine: escape \n in documentation

This commit is contained in:
Simon Ruderich
2016-09-15 04:24:45 +02:00
parent d255bf498c
commit a61e6b0d65

View File

@@ -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.}