Merge pull request #2774 from Pix-xiP/master

Updating to be the correct function name in documentation.
This commit is contained in:
Jeroen van Rijn
2023-08-27 16:47:45 +02:00
committed by GitHub

View File

@@ -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) {