Skip to content

Commit 5af1668

Browse files
authored
Merge pull request #1680 from gurjeet/patch-1
Fix comment to mention the correct type of error
2 parents 92faa26 + 1573054 commit 5af1668

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/primitives/array.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ fn main() {
6363
}
6464
}
6565
66-
// Out of bound indexing causes runtime error.
66+
// Out of bound indexing causes compile-time error.
6767
//println!("{}", xs[5]);
6868
}
6969
```

0 commit comments

Comments
 (0)