summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCharles Blake <cblake@csail.mit.edu>2015-08-04 13:25:41 -0400
committerCharles Blake <cblake@csail.mit.edu>2015-08-04 13:25:41 -0400
commit5ec4b7946fd8c916ac0cf0d94b42837a571adc68 (patch)
tree8ffd417840612b13d79568e38525161b24ee091e
parent0487ad418040b0512603ec7f640307ab34895400 (diff)
downloadNim-5ec4b7946fd8c916ac0cf0d94b42837a571adc68.tar.gz
Add note about what is included.
-rw-r--r--lib/pure/memfiles.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/pure/memfiles.nim b/lib/pure/memfiles.nim
index 15fa4c65e..00929eaa2 100644
--- a/lib/pure/memfiles.nim
+++ b/lib/pure/memfiles.nim
@@ -270,6 +270,9 @@ iterator memSlices*(mfile: MemFile, delim='\l', eat='\r'): MemSlice {.inline.} =
   ## are not supported as a third option for each line.  Such archaic MacOS9
   ## files can be handled by passing delim='\\r', eat='\\0', though.
   ##
+  ## Delimiters are not part of the returned slice.  A final, unterminated line
+  ## or record is returned just like any other.
+  ##
   ## Non-default delimiters can be passed to allow iteration over other sorts
   ## of "line-like" variable length records.  Pass eat='\\0' to be strictly
   ## `delim`-delimited. (Eating an optional prefix equal to '\\0' is not