doc comment
A /// comment that becomes documentation.
Doc comments (/// and //!) are Markdown that rustdoc turns into HTML documentation (cargo doc).
Examples
/// Returns the late fee in cents.abovepub fn late_feeappears on that function's page aftercargo doc.
See also