Update demo.odin

Appears that 'to' and 'abstract' were inverted.
This commit is contained in:
Gary Chike
2023-12-21 16:23:00 -05:00
committed by GitHub
parent 464a675adc
commit 269957b9fb
+2 -2
View File
@@ -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()
}
}
}