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 841c71c14..0f56182cd 100644
--- a/src/doc/rust-by-example/src/primitives/array.md
+++ b/src/doc/rust-by-example/src/primitives/array.md
@@ -64,7 +64,7 @@ fn main() {
}
}
- // Out of bound indexing causes compile error
+ // Out of bound indexing causes runtime error
//println!("{}", xs[5]);
}
```