News for hackers. Stuff that matters.
Re:Rust is for Professionals by devit on Tuesday April 13, 2021 @08:02PM (#26801285)
If you don't call clone() then a clone doesn't happen...
Re:Rust is for Professionals by ahelwer on Tuesday April 13, 2021 @08:55PM (#26801693)
Ah, I didn't see the extra clone. I thought it was something to do with that additional variable you defined. I guess you need to do that or else you have to do a clone.