Skip to content

Commit

Permalink
Merge pull request #1680 from gurjeet/patch-1
Browse files Browse the repository at this point in the history
Fix comment to mention the correct type of error
  • Loading branch information
marioidival authored Mar 21, 2023
2 parents 92faa26 + 1573054 commit 5af1668
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 runtime error.
// Out of bound indexing causes compile-time error.
//println!("{}", xs[5]);
}
```

0 comments on commit 5af1668

Please sign in to comment.