Skip to content

Commit

Permalink
fix(doc): typo
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-jerry-ye committed Jul 9, 2024
1 parent 1e57e3f commit 95a1ae0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1328,7 +1328,7 @@ fn init {
Analogous to `slice` in other languages, the view is a reference to a
specific segment of collections. You can use `data[start..end]` to create a
view of array `data`, referencing elements from `start` to `end` (exclusive).
Both `start` and `end` indices can be omited.
Both `start` and `end` indices can be omitted.

```moonbit
fn init {
Expand Down

0 comments on commit 95a1ae0

Please sign in to comment.