my #rust knowledge is quite low and yet I found this hilarious anyway.
Uncategorized
1
Posts
1
Posters
0
Views
-
my #rust knowledge is quite low and yet I found this hilarious anyway.
My fav
> clone_mut() gives you multiple &mut to the same location. The compiler assumes mutable references are unique and optimizes based on that. When you break the assumption, the optimizer generates wrong code. Compiler skill issue.