summaryrefslogtreecommitdiff
path: root/lib/streamio
diff options
context:
space:
mode:
Diffstat (limited to 'lib/streamio')
-rw-r--r--lib/streamio/runescanner.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/streamio/runescanner.go b/lib/streamio/runescanner.go
index 451f32f..203439f 100644
--- a/lib/streamio/runescanner.go
+++ b/lib/streamio/runescanner.go
@@ -2,6 +2,8 @@
//
// SPDX-License-Identifier: GPL-2.0-or-later
+// Package streamio implements utilities for working with streaming
+// I/O.
package streamio
import (
@@ -87,7 +89,7 @@ func (rs *runeScanner) ReadRune() (r rune, size int, err error) {
rs.progressWriter.Set(rs.progress)
}
}
- return
+ return r, size, err
}
// ReadRune implements io.RuneScanner.