Browse Source

Merge pull request #3039 from chikega/patch-1

Update demo.odin
Jeroen van Rijn 1 year ago
parent
commit
ac0ed13b35
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()
 	}
-}
+}