about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAndre Bogus <bogusandre@gmail.com>2016-09-12 23:35:20 +0200
committerAndre Bogus <bogusandre@gmail.com>2016-09-29 14:56:58 +0200
commitdd13a80344838df06fb5df13e36af4bcac04f4b0 (patch)
tree23ff51e932d438b14cfcfd9933cd6f3b1ec5dc7c /src/rustllvm/RustWrapper.cpp
parentfb62f4d544c954d355716dca8beb55726036721e (diff)
downloadrust-dd13a80344838df06fb5df13e36af4bcac04f4b0.tar.gz
rust-dd13a80344838df06fb5df13e36af4bcac04f4b0.zip
impl {Add, AddAssign}<{str, Cow<str>}> for Cow<str>
This does not actually add anything that wasn't there, but is merely an
optimization for the given cases, which would have incurred additional
heap allocation for adding empty strings, and improving the ergonomics
of `Cow` with strings.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions