diff --git a/src/primitives/array.md b/src/primitives/array.md index 3811bb6d7f..a3e1e797cc 100644 --- a/src/primitives/array.md +++ b/src/primitives/array.md @@ -63,7 +63,7 @@ fn main() { } } - // Out of bound indexing causes runtime error. + // Out of bound indexing causes compile-time error. //println!("{}", xs[5]); } ```