aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--format/tsv/reader.ha3
1 files changed, 2 insertions, 1 deletions
diff --git a/format/tsv/reader.ha b/format/tsv/reader.ha
index df2ba35..326e24b 100644
--- a/format/tsv/reader.ha
+++ b/format/tsv/reader.ha
@@ -5,7 +5,8 @@ use strings;
use memio;
use fmt;
-// Reads records from an io::handle and returns them.
+// Reads records from an io::handle and returns them. The result must be freed
+// using [[freerecords]].
export fn readrecords(r: io::handle) ([][]str | io::error | utf8::invalid) = {
const sc = bufio::newscanner(r);
defer bufio::finish(&sc);