make the stdlib work with the changed docgen

This commit is contained in:
Araq 2019-01-11 18:36:20 +01:00 • committed by Andreas Rumpf
commit 647066e378
7 changed files with 10 additions and 10 deletions

View file

@ -271,7 +271,7 @@ proc peekStr*(s: Stream, length: int): TaintedString =
proc readLine*(s: Stream, line: var TaintedString): bool =
## reads a line of text from the stream `s` into `line`. `line` must not be
## ``nil``! May throw an IO exception.
## A line of text may be delimited by ```LF`` or ``CRLF``.
## A line of text may be delimited by ``LF`` or ``CRLF``.
## The newline character(s) are not part of the returned string.
## Returns ``false`` if the end of the file has been reached, ``true``
## otherwise. If ``false`` is returned `line` contains no new data.