aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2019-03-11 09:32:15 +0000
committergingerBill <bill@gingerbill.org>2019-03-11 09:32:15 +0000
commitb08d944c33be661fe679a1e47624ed84577b8da0 (patch)
treec03fd52476cf2de68422faffce4706f75be894ee /examples
parent4446a1431a42282c64a5a7b108db5f60f3883285 (diff)
Fix typo in demo.odin
Diffstat (limited to 'examples')
-rw-r--r--examples/demo/demo.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/demo/demo.odin b/examples/demo/demo.odin
index d65c83059..e5c5830e1 100644
--- a/examples/demo/demo.odin
+++ b/examples/demo/demo.odin
@@ -856,7 +856,7 @@ cstring_example :: proc() {
fmt.println(len(W), len(X), len(Y));
// IMPORTANT NOTE for cstring variables
// len(cstring) is O(N)
- // cast(cstring)string is O(N)
+ // cast(string)cstring is O(N)
}
deprecated_attribute :: proc() {