If you literally (hah) have string literals, you can use the concat! macro, e.g. concat!("Hello, ", "world!"). You can also natively split strings over several lines, e.g.

let lit = "Hello, \
           World";


(The \ consumes all following whitespace, including the leading spaces on the next line; omitting the \ will include the string data "verbatim", with newlines and leading spaces etc.)

In any case, + with String is very inefficient in situations like this, since String + &amp;str will discard the old allocation, and create a new one with the result (i.e. it won't reuse the old memory). If you're not just handling literals, and are building a string progressively, you can use append in a chaining style "foo".to_string().append("bar").append("baz") or push_str iteratively, `let mut s = "foo".to_string(); s.push_str("bar"); s.push_str("baz");.

A more convenient concatenation with a string literal in Rust
We are big dairy eaters in our home, so I successfully make about a gallon of Greek yogurt every few weeks. Today I started my process as usual, but with so many things happening at once (just had my 2nd baby, so things are hectic), I failed to remember to let the milk cool before adding in my enzymes: I stirred them in right at 180 degrees. So having killed my enzymes (sigh), what can I do with all of this milk/yogurt mix aside from throwing it down the sink? Pardon my stupidity and lack of knowledge on the subject, but would the heating process alter at all the calories/nutrients in the milk/yogurt in any way (aside from the obvious death of the innocent enzymes)? Will my milk curdle or something? Thank you!
