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

In Rust you can just add `#![deny(missing_docs)]` to your code and compilation will fail if you have any undocumented items.

Of course that can lead to developers just adding a single line comment with the name of the type ... but it's still a nice feature.




That's actually super cool; I wish I had more reasons to reach for Rust on a regular basis but this is definitely something I'll keep in mind should I ever get the opportunity to use Rust in any capacity.




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

Search: