for loops
This commit is contained in:
@@ -30,7 +30,10 @@
|
||||
- complete plain imported C structs and unions as runtime values; incomplete or unsupported-layout records remain pointer-only
|
||||
- C function pointer types as pointer-sized runtime values, including manual `*c_func(...) T` spelling and nullable imported callback typedefs
|
||||
- postfix pointer dereference, general writable locations, function calls, assignments, and returns
|
||||
- first-class exclusive and inclusive integer ranges: `start..end` and `start..=end`
|
||||
- boolean `if` statements and `while` loops with optional post-iteration assignment/expression clauses
|
||||
- `for` loops over ranges, arrays, slices, and pointers-to-arrays, with copy, pointer, and optional `usize` index captures
|
||||
- `|@item|` pointer captures inherit pointee mutability from the iterable; arrays require an explicit pointer such as `&items`
|
||||
|
||||
### functions and packages
|
||||
|
||||
|
||||
Reference in New Issue
Block a user