Browse Source

Fix typo in demo.odin

gingerBill 6 years ago
parent
commit
b08d944c33
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/demo/demo.odin

+ 1 - 1
examples/demo/demo.odin

@@ -856,7 +856,7 @@ cstring_example :: proc() {
 	fmt.println(len(W), len(X), len(Y));
 	fmt.println(len(W), len(X), len(Y));
 	// IMPORTANT NOTE for cstring variables
 	// IMPORTANT NOTE for cstring variables
 	// len(cstring) is O(N)
 	// len(cstring) is O(N)
-	// cast(cstring)string is O(N)
+	// cast(string)cstring is O(N)
 }
 }
 
 
 deprecated_attribute :: proc() {
 deprecated_attribute :: proc() {