summaryrefslogtreecommitdiffstats
path: root/src/doc/rust-by-example/src/primitives/array.md
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc/rust-by-example/src/primitives/array.md')
-rw-r--r--src/doc/rust-by-example/src/primitives/array.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rust-by-example/src/primitives/array.md b/src/doc/rust-by-example/src/primitives/array.md
index 3811bb6d7..9cec24d69 100644
--- a/src/doc/rust-by-example/src/primitives/array.md
+++ b/src/doc/rust-by-example/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]);
}
```