Skip to content

Commit 4403fbf

Browse files
committed
Compile time err not runtime err
1 parent af0998b commit 4403fbf

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

0 commit comments

Comments
 (0)