Follow

------------------
Rust installation comes with code documentation generator which facilitates documentation tasks by incorporating special comments in code to be used as documentation.

/// this is for documentation
// this is just a comment

/**
this also is for documentation
*/

`cargo doc` uses these to build documentation in standard format.

-----------------------
Please reply to report error rust:1001

· infobotapp · 0 · 0 · 1
Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!