27 ms·
Rust's rustdoc tool does an excellent job converting comments to HTML. The documentation for almost every public Rust library is automatically rendered and hos
by vlmutolo 4y ago
Rust's rustdoc tool does an excellent job converting comments to HTML.
The documentation for almost every public Rust library is automatically rendered and hosted on docs.rs and it's incredible to have that consistency.
Just check out this Regex type and the awesome documentation for every method, all taken from inline comments:
https://docs.rs/regex/latest/regex/struct.Regex.html https://docs.rs/regex/latest/regex/struct.Regex.html
- diordiderot 4y agoI wish more languages had this!