Skip to content

Commit

Permalink
Update data/tutorials/language/1ds_01_arrays.md
Browse files Browse the repository at this point in the history
Co-authored-by: tuohy <[email protected]>
  • Loading branch information
gpetiot and tuohy authored Jul 31, 2023
1 parent 0385ee2 commit a07906e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/tutorials/language/1ds_01_arrays.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ To modify an element in an array, we simply assign a new value to it using the i
- : unit = ()
```

Note that this modification doesn’t return the modified array: the value returned by this operation is `unit`, `even_numbers` is modified in place in the current scope. Updating an array's content is a side effect.
Note that this operation returns `unit`, not the modified array. `even_numbers` is modified in place as a side effect.

## The Standard Library `Array` Module

Expand Down

0 comments on commit a07906e

Please sign in to comment.