aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2023-08-27 16:47:45 +0200
committerGitHub <noreply@github.com>2023-08-27 16:47:45 +0200
commit6f363dcae3645a5bb78ef6ccd9a185a39dcd75db (patch)
treead41a5f3a659851533f03622d842298bfdd90c53
parent92f385e7b513295fcd995dd7621a8638d573e8c0 (diff)
parent8c4bd762805af570d1dc29ef2c6480084b4da6e1 (diff)
Merge pull request #2774 from Pix-xiP/master
Updating to be the correct function name in documentation.
-rw-r--r--core/bufio/writer.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/bufio/writer.odin b/core/bufio/writer.odin
index bfa8b804f..c3debdaaa 100644
--- a/core/bufio/writer.odin
+++ b/core/bufio/writer.odin
@@ -159,7 +159,7 @@ writer_write_rune :: proc(b: ^Writer, r: rune) -> (size: int, err: io.Error) {
return
}
-// writer_write writes a string into the buffer
+// writer_write_string writes a string into the buffer
// It returns the number of bytes written
// If n < len(p), it will return an error explaining why the write is short
writer_write_string :: proc(b: ^Writer, s: string) -> (int, io.Error) {