Skip to content

Commit 4e3881e

Browse files
authored
Merge pull request #1885 from maple19out/master
Fix ambiguous comment on 2.3 Arrays and Slices page
2 parents 54cc32a + 3314ea6 commit 4e3881e

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 on array causes compile time error.
66+
// Out of bound indexing on array with constant value causes compile time error.
6767
//println!("{}", xs[5]);
6868
// Out of bound indexing on slice causes runtime error.
6969
//println!("{}", xs[..][5]);

0 commit comments

Comments
 (0)