diff options
-rw-r--r-- | lib/pure/streams.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/streams.nim b/lib/pure/streams.nim index 09626136f..9950c5877 100644 --- a/lib/pure/streams.nim +++ b/lib/pure/streams.nim @@ -158,12 +158,12 @@ proc peek[T](s: Stream, result: var T) = proc readChar*(s: Stream): char = ## reads a char from the stream `s`. Raises `EIO` if an error occurred. - ## Returns '\0' as an EOF marker. + ## Returns '\\0' as an EOF marker. if readData(s, addr(result), sizeof(result)) != 1: result = '\0' proc peekChar*(s: Stream): char = ## peeks a char from the stream `s`. Raises `EIO` if an error occurred. - ## Returns '\0' as an EOF marker. + ## Returns '\\0' as an EOF marker. if peekData(s, addr(result), sizeof(result)) != 1: result = '\0' proc readBool*(s: Stream): bool = |