瀏覽代碼

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))
 }
 /*