3 ms·
> But that doesn't explain why I can't add two `String`s together using +. Because that would consume both Strings, which doesn't make sense. The impl that exi
by eeereerews 8y ago
> But that doesn't explain why I can't add two `String`s together using +.
Because that would consume both Strings, which doesn't make sense. The impl that exists only consumes the left string, reusing its buffer.
This seems like an odd thing to complain about since if you try it the compiler will tell you exactly what you should do instead.