aboutsummaryrefslogtreecommitdiff
path: root/core/encoding/xml/example
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-07-11 11:55:49 +0100
committergingerBill <bill@gingerbill.org>2022-07-11 11:55:49 +0100
commitae9d540c1c77bfc84a4fff964e218aebcb0c2680 (patch)
tree7a80557e7727441c7b6a3ee12548c5b459289778 /core/encoding/xml/example
parentc90b7c38f1a54e1f6bc144bea76b976f7c126644 (diff)
Correct naming in tests
Diffstat (limited to 'core/encoding/xml/example')
-rw-r--r--core/encoding/xml/example/xml_example.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/encoding/xml/example/xml_example.odin b/core/encoding/xml/example/xml_example.odin
index f7e74840e..887b40764 100644
--- a/core/encoding/xml/example/xml_example.odin
+++ b/core/encoding/xml/example/xml_example.odin
@@ -84,7 +84,7 @@ example :: proc() {
doc_hash :: proc(doc: ^xml.Document, print := false) -> (crc32: u32) {
buf: strings.Builder
- defer strings.destroy_builder(&buf)
+ defer strings.builder_destroy(&buf)
w := strings.to_writer(&buf)
xml.print(w, doc)