Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

To clarify, Rust doesn't allow overloading the assignment operator. The compound arithmetic assignment operators like `+=` are overridable, but that doesn't pose any problem for the use-before-init analysis, which already prevents all methods from being called on uninitialized variables.
 help



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: