Browse Source

Update demo.odin

Appears that 'to' and 'abstract' were inverted.
Gary Chike 1 year ago
parent
commit
269957b9fb
1 changed files with 2 additions and 2 deletions
  1. 2 2
      examples/demo/demo.odin

+ 2 - 2
examples/demo/demo.odin

@@ -541,7 +541,7 @@ struct_type :: proc() {
 		p.x = 1335
 		fmt.println(v)
 
-		// We could write p^.x, however, it is to nice abstract the ability
+		// We could write p^.x, however, it is nice to abstract the ability
 		// to not explicitly dereference the pointer. This is very useful when
 		// refactoring code to use a pointer rather than a value, and vice versa.
 	}
@@ -2594,4 +2594,4 @@ main :: proc() {
 		arbitrary_precision_mathematics()
 		matrix_type()
 	}
-}
+}