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
+1 -1
View File
@@ -541,7 +541,7 @@ struct_type :: proc() {
p.x = 1335 p.x = 1335
fmt.println(v) 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 // to not explicitly dereference the pointer. This is very useful when
// refactoring code to use a pointer rather than a value, and vice versa. // refactoring code to use a pointer rather than a value, and vice versa.
} }