2 ms·
This is a great article! The only omission is that you can concatenate two &str's at compile time using concat!().
by dralley 6y ago
This is a great article! The only omission is that you can concatenate two &str's at compile time using concat!().
- brundolf 6y agoI didn't know about that! It's pretty interesting, though also fairly niche because the most common usecase is a string addition where at least one member is a variable, not a literal