about summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.cc
diff options
context:
space:
mode:
authorSteven Allen <steven@stebalien.com>2015-04-22 18:44:17 -0400
committerSteven Allen <steven@stebalien.com>2015-04-22 19:19:54 -0400
commit50c6c6ca9038223226a36d9ceb15b6f37254959c (patch)
treebb066fd6090473b6d0f59a11cd518d97dd3b8cda /src/test/codegen/stack-alloc-string-slice.cc
parentde8c79a53532c4a6de61b0dcde6ed9b133afa752 (diff)
downloadrust-50c6c6ca9038223226a36d9ceb15b6f37254959c.tar.gz
rust-50c6c6ca9038223226a36d9ceb15b6f37254959c.zip
Address comments.
1. Use next_back for last.
2. Use slices for computing nth. It might be possible to use the same
code for both the mut/const case but I don't know how that will play
with compiler optimizations.
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.cc')
0 files changed, 0 insertions, 0 deletions