about summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-10-04 12:36:36 -0700
committerbors <bors@rust-lang.org>2013-10-04 12:36:36 -0700
commitc5295f9c4713e77dbb8dfc76bc91e10fceaabbb2 (patch)
treee13701e3f26f324ae9e636b35e059b591874e68b /src/test/codegen/stack-alloc-string-slice.rs
parenta9d54acc3eb8f381f481d070a34d27651f86785e (diff)
parent9ac175c503e0c839551868fa8d624943c3af9d99 (diff)
downloadrust-c5295f9c4713e77dbb8dfc76bc91e10fceaabbb2.tar.gz
rust-c5295f9c4713e77dbb8dfc76bc91e10fceaabbb2.zip
auto merge of #9717 : blake2-ppc/rust/rustc-static-str, r=alexcrichton
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