Browse Source

fix typo

apparently i had a moment of dyslexia
Justin Snyder 1 year ago
parent
commit
271782d2f4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/strings/builder.odin

+ 1 - 1
core/strings/builder.odin

@@ -296,7 +296,7 @@ Returns:
 */
 to_cstring :: proc(b: ^Builder) -> (res: cstring) {
 	append(&b.buf, 0)
-	defer pop(&p.buf)
+	defer pop(&b.buf)
 	return cstring(raw_data(b.buf))
 }
 /*