about summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.rs
diff options
context:
space:
mode:
authorJohann Hofmann <git@johann-hofmann.com>2015-05-11 00:53:24 +0200
committerJohann <git@johann-hofmann.com>2015-05-11 01:22:57 +0200
commit295b62dfb9ae53cb14518664ddaaf71348b20f18 (patch)
tree1a1e540bd071dc3070599974e0864267e0cf0804 /src/test/codegen/stack-alloc-string-slice.rs
parent9ecc9896dedb426e3f4eb3d23dfc60192fe5275f (diff)
downloadrust-295b62dfb9ae53cb14518664ddaaf71348b20f18.tar.gz
rust-295b62dfb9ae53cb14518664ddaaf71348b20f18.zip
Docs: Compile-time bounds check in index expression
The reference was claiming all vectors all bounds-checked at run-time, when constant vectors are usually checked at compile-time.

For the changed example see http://is.gd/28ak9E
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.rs')
0 files changed, 0 insertions, 0 deletions