Преглед изворни кода

fix typo

apparently i had a moment of dyslexia
Justin Snyder пре 1 година
родитељ
комит
271782d2f4
1 измењених фајлова са 1 додато и 1 уклоњено
  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))
 }
 /*