|
|
|
|
|
by steveklabnik
2000 days ago
|
|
Well, Rust doesn't have constructors, let alone copy constructors. Clone goes from &T -> T, so that is the exact opposite conversion needed here, let alone auto-clone. Automatically copying strings may not be a great idea: https://news.ycombinator.com/item?id=8704318 |
|