summary refs log tree commit diff stats
path: root/lib/system.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/system.nim')
-rw-r--r--lib/system.nim8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 0257670f4..70c8a529a 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -2238,8 +2238,8 @@ when not defined(JS): #and not defined(NimrodVM):
     iterator lines*(filename: string): TaintedString {.tags: [FReadIO].} =
       ## Iterates over any line in the file named `filename`.
       ##
-      ## If the file does not exist `EIO` is raised. The iterated lines will be
-      ## stripped off the trailing newline character(s). Example:
+      ## If the file does not exist `EIO` is raised. The trailing newline
+      ## character(s) are removed from the iterated lines. Example:
       ##
       ## .. code-block:: nimrod
       ##   import strutils
@@ -2257,8 +2257,8 @@ when not defined(JS): #and not defined(NimrodVM):
     iterator lines*(f: TFile): TaintedString {.tags: [FReadIO].} =
       ## Iterate over any line in the file `f`.
       ##
-      ## The iterated lines will be stripped off the trailing newline
-      ## character(s). Example:
+      ## The trailing newline character(s) are removed from the iterated lines.
+      ## Example:
       ##
       ## .. code-block:: nimrod
       ##   proc countZeros(filename: TFile): tuple[lines, zeros: int] =