about summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.rs
diff options
context:
space:
mode:
authorblake2-ppc <blake2-ppc>2013-10-04 19:46:53 +0200
committerblake2-ppc <blake2-ppc>2013-10-04 19:46:53 +0200
commit9ac175c503e0c839551868fa8d624943c3af9d99 (patch)
tree8f9f851f33c884b1aaa4dd6c501fdb284e5e79cb /src/test/codegen/stack-alloc-string-slice.rs
parent9344e2a8665ccd8010bd903aab450115de80bf46 (diff)
downloadrust-9ac175c503e0c839551868fa8d624943c3af9d99.tar.gz
rust-9ac175c503e0c839551868fa8d624943c3af9d99.zip
rustc: Use static strings in a few literals
Avoid allocating extra copies of strings by using "" instead of ~"" for
the debug options list and for the `time` function. This is a small
change, but it is in a path that's always executed.
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.rs')
0 files changed, 0 insertions, 0 deletions