diff options
| author | Andre Bogus <bogusandre@gmail.com> | 2016-09-12 23:35:20 +0200 |
|---|---|---|
| committer | Andre Bogus <bogusandre@gmail.com> | 2016-09-29 14:56:58 +0200 |
| commit | dd13a80344838df06fb5df13e36af4bcac04f4b0 (patch) | |
| tree | 23ff51e932d438b14cfcfd9933cd6f3b1ec5dc7c /src/rustllvm/RustWrapper.cpp | |
| parent | fb62f4d544c954d355716dca8beb55726036721e (diff) | |
| download | rust-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
