Skip to content

Commit 3314ea6

Browse files
committed
Fix ambiguous comment on primitives > Arrays and Slices
1 parent c79ec34 commit 3314ea6

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)