Skip to content

Commit a75ef84

Browse files
ospencerphated
andauthored
Apply suggestions from code review
Co-authored-by: Blaine Bublitz <blaine.bublitz@gmail.com>
1 parent f0db198 commit a75ef84

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/guide/arrays.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ print(strings[-3]) // "foo"
3636

3737
If we try to access an element beyond the length of the array, we'll get an `IndexOutOfBounds` error.
3838

39-
## Updaing Arrays
39+
## Updating Arrays
4040

41-
One of the major benefits arrays have is the ability to change the values it contains. We can update an array's values like so:
41+
One of the major benefits of an array is the ability to change the values it contains. We can update an array's values like so:
4242

4343
```grain
4444
let strings = [> "foo", "bar", "baz"]
@@ -84,7 +84,7 @@ Lists are excellent because they're
8484

8585
Lists might not be the right choice because they're
8686

87-
- unable to be modified
87+
- unable to be modified in place
8888
- inefficient at accessing random elements
8989
- inefficient at determining the number of elements
9090

0 commit comments

Comments
 (0)