diff options
| author | gingerBill <bill@gingerbill.org> | 2021-05-19 14:26:20 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-05-19 14:26:20 +0100 |
| commit | 4d580ed693edab796498acf5eba5a1c4d88c9b2b (patch) | |
| tree | a19fc7137b0e8d57e38e11b9431d66ad81d553bf /examples | |
| parent | 9c54ed57924bf8ff241b0bffebaeabfa541db24c (diff) | |
Keep -vet happy
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/demo/demo.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/demo/demo.odin b/examples/demo/demo.odin index 8cf3cfd9a..af67df3e9 100644 --- a/examples/demo/demo.odin +++ b/examples/demo/demo.odin @@ -1868,7 +1868,7 @@ soa_struct_layout :: proc() { // iterate over the #soa slice for v, i in s { - fmt.println(v); // exactly the same as s[i] + fmt.println(v, i); // exactly the same as s[i] // NOTE: 'v' is NOT a temporary value but has a specialized addressing mode // which means that when accessing v.a etc, it does the correct transformation // internally: |