Skip to content

Commit

Permalink
Merge pull request #1690 from jakthom/wee-little-typo
Browse files Browse the repository at this point in the history
Change `runtime` error to `compile time` error
  • Loading branch information
marioidival committed Mar 21, 2023
2 parents 61d3e7b + fb48e2c commit 2fe3c95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/primitives/array.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ fn main() {
}
}
// Out of bound indexing causes compile-time error.
// Out of bound indexing causes compile time error.
//println!("{}", xs[5]);
}
```

0 comments on commit 2fe3c95

Please sign in to comment.