Browse Source

Updating to be the correct function name in documentation.

Pix 2 years ago
parent
commit
8c4bd76280
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/bufio/writer.odin

+ 1 - 1
core/bufio/writer.odin

@@ -159,7 +159,7 @@ writer_write_rune :: proc(b: ^Writer, r: rune) -> (size: int, err: io.Error) {
 	return
 	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
 // It returns the number of bytes written
 // If n < len(p), it will return an error explaining why the write is short
 // 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) {
 writer_write_string :: proc(b: ^Writer, s: string) -> (int, io.Error) {