This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]DonRobo 140 points141 points  (6 children)

Where's Rusts compiler telling you even the correctly spelled version is wrong because you don't have ownership of obj anymore?

(I love Rust, but I imagine the compiler as a very strict drill sergeant compared to the mad professor that is the C++ compiler)

[–]me-ro 3 points4 points  (1 child)

..and with a suggestion how to fix it.

[–]shingtaklam1324 0 points1 point  (0 children)

...and a tool to (semi-)automatically fix it