Add a comment
This commit is contained in:
parent
fe768724d6
commit
3b4e5582b7
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ fn main() -> int do
|
|||
# Test enum (stack-allocated for now)
|
||||
let status = Status::Ok();
|
||||
|
||||
# Test array (heap-allocated)
|
||||
# Test array (heap-allocated), no way to preinit an array with a length rn
|
||||
let arr = [1, 2, 3, 4, 5];
|
||||
let first = arr[0];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue