5 ms·
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 develop
by the_duke 6y ago
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.
- seangrogg 6y agoThat'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.