mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-13 01:21:38 -07:00
Update demo.odin
Appears that 'to' and 'abstract' were inverted.
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user