Hacker News new | past | comments | ask | show | jobs | submit login

> If your code doesn’t compile due to the rigidness of the borrow checker, it’s incorrect I’m sorry to say.

There're plenty of bug-free code which the borrow checker doesn't permit. A very common example is nested calls with a &mut receiver: https://internals.rust-lang.org/t/accepting-nested-method-ca...




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: