aboutsummaryrefslogtreecommitdiff
path: root/core/bufio
diff options
context:
space:
mode:
authorPix <pix119@proton.me>2023-08-27 21:03:49 +0800
committerPix <pix119@proton.me>2023-08-27 21:03:49 +0800
commit8c4bd762805af570d1dc29ef2c6480084b4da6e1 (patch)
treead41a5f3a659851533f03622d842298bfdd90c53 /core/bufio
parent92f385e7b513295fcd995dd7621a8638d573e8c0 (diff)
Updating to be the correct function name in documentation.
Diffstat (limited to 'core/bufio')
-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) {