|
|
|
|
|
by estebank
1422 days ago
|
|
There's also another item in that list, and that is performance. As soon as you slightly relax that one, Rust does become massively easier. A well placed .clone() or Arc makes the rest of the code performant enough and easier to understand, which makes the equation of choosing Rust over other alternatives in spaces that aren't necessarily systems programming less problematic. |
|
The .clone() would have been [=] in C++, which would have safely quieted the warning.