summary refs log tree commit diff stats
path: root/lib/system.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/system.nim')
-rwxr-xr-xlib/system.nim3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/system.nim b/lib/system.nim
index af948265f..e19a9749d 100755
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -1612,8 +1612,7 @@ when not defined(EcmaScript) and not defined(NimrodVM):
 
   proc readLine*(f: TFile): string
     ## reads a line of text from the file `f`. May throw an IO exception.
-    ## Reading from an empty file buffer, does not throw an exception, but
-    ## returns nil. A line of text may be delimited by ``CR``, ``LF`` or
+    ## A line of text may be delimited by ``CR``, ``LF`` or
     ## ``CRLF``. The newline character(s) are not part of the returned string.
 
   proc writeln*[Ty](f: TFile, x: Ty) {.inline.}