aboutsummaryrefslogtreecommitdiff
path: root/core/encoding/xml/example
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-07-14 11:56:13 +0100
committergingerBill <bill@gingerbill.org>2022-07-14 11:56:13 +0100
commit2ae5bf4395ce7070b1301f9bee2b60d461dd28fc (patch)
tree2acb6b999a9e1e480991adc2ed7a802c67b89bc2 /core/encoding/xml/example
parentf28547cae1dbc009283e63250de0cdbde68543d7 (diff)
parent5332705e3108c35889020b105d0b1f68b6d48644 (diff)
Merge branch 'master' of https://github.com/odin-lang/Odin
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)