diff options
Diffstat (limited to 'io/bufio.ts')
-rw-r--r-- | io/bufio.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/io/bufio.ts b/io/bufio.ts index dc6d6b3cc..29ca5435d 100644 --- a/io/bufio.ts +++ b/io/bufio.ts @@ -207,8 +207,10 @@ export class BufReader implements Reader { /** readString() reads until the first occurrence of delim in the input, * returning a string containing the data up to and including the delimiter. * If ReadString encounters an error before finding a delimiter, - * it returns the data read before the error and the error itself (often io.EOF). - * ReadString returns err != nil if and only if the returned data does not end in + * it returns the data read before the error and the error itself + * (often io.EOF). + * ReadString returns err != nil if and only if the returned data does not end + * in * delim. * For simple uses, a Scanner may be more convenient. */ |