aboutsummaryrefslogtreecommitdiff
path: root/core/encoding/xml/example/xml_example.odin
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2022-07-13 16:09:19 +0100
committerGitHub <noreply@github.com>2022-07-13 16:09:19 +0100
commitbfb082cda4a0235422e24c7add5d5ae0569456f8 (patch)
tree2b66debdc539881ece2616a4502134620e299a67 /core/encoding/xml/example/xml_example.odin
parent37d04198ab73441510a8556abd1aa1b5a4615c9b (diff)
parentae9d540c1c77bfc84a4fff964e218aebcb0c2680 (diff)
Merge pull request #1881 from odin-lang/strings-builder-cleanup
Rename strings.Builder procedures to be consistent with the rest of the core library
Diffstat (limited to 'core/encoding/xml/example/xml_example.odin')
-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)