diff options
| author | Johann Hofmann <git@johann-hofmann.com> | 2015-05-11 00:53:24 +0200 |
|---|---|---|
| committer | Johann <git@johann-hofmann.com> | 2015-05-11 01:22:57 +0200 |
| commit | 295b62dfb9ae53cb14518664ddaaf71348b20f18 (patch) | |
| tree | 1a1e540bd071dc3070599974e0864267e0cf0804 /src/test/codegen/stack-alloc-string-slice.rs | |
| parent | 9ecc9896dedb426e3f4eb3d23dfc60192fe5275f (diff) | |
| download | rust-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
