Skip to content

Commit

Permalink
Fix documentation of read_line()
Browse files Browse the repository at this point in the history
The documentation used the wrong value ("\a") for a newline ("\n").

Changelog: other
  • Loading branch information
yorickpeterse committed Nov 2, 2023
1 parent 317c3c7 commit 3ace1b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/src/std/io.inko
Expand Up @@ -431,7 +431,7 @@ trait pub BufferedRead: Read {
}

# Read bytes into `into` up to and including the newline byte (0xA aka
# `"\a"`).
# `"\n"`).
#
# Upon success, the return value is `Ok(n)` where `n` is the number of bytes
# read into `into`.
Expand Down

0 comments on commit 3ace1b8

Please sign in to comment.