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

Coherence helps with this: you can only implement a trait for a type if you've defined either the trait or the type. So a third party library can't impl From<MyType> for YourType`, for example.

In general, I find Rust pretty grep-able, though I'm a bit biased.



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

Search: