News for hackers. Stuff that matters.
Re:Rust 1.49.0 by steveklabnik on Thursday December 31, 2020 @10:57AM (#25593795)
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

There are no comments on this comment yet.