From 1573054790813c3ad585236e5aeadc852c5d6b46 Mon Sep 17 00:00:00 2001 From: Gurjeet Singh Date: Fri, 10 Feb 2023 21:42:59 -0800 Subject: [PATCH] Fix comment to mention the correct type of error --- src/primitives/array.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]); } ```