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>2015-04-19 19:32:45 +0000
committerbors <bors@rust-lang.org>2015-04-19 19:32:45 +0000
commitda355efc1c8bde662da6f0289b492ce694bb398c (patch)
tree0168f4afe1981d4c4d3185493193d8770fd630f9 /src/test/codegen/stack-alloc-string-slice.rs
parentc6b8d96abd116090af13f1c2c5fe8d5b7fc494d2 (diff)
parentf055054eab2a510ad3252599a015f660eef6aedd (diff)
downloadrust-da355efc1c8bde662da6f0289b492ce694bb398c.tar.gz
rust-da355efc1c8bde662da6f0289b492ce694bb398c.zip
Auto merge of #24517 - erickt:str, r=alexcrichton
This implementation is currently about 3-4 times faster than using the `.to_string()` based approach.

I would also suggest we deprecate `String::from_str` since it's redundant with the stable `String::from` method, but I'll leave that for a future PR.
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.rs')
0 files changed, 0 insertions, 0 deletions