Skip to main content

render_javadoc_sections

Function render_javadoc_sections 

Source
pub fn render_javadoc_sections(
    sections: &RustdocSections,
    throws_class: &str,
) -> String
Expand description

Render RustdocSections as a JavaDoc comment body.

  • # Arguments@param name desc (one per param)
  • # Returns@return desc
  • # Errors@throws KreuzbergRsException desc
  • # Example<pre>{@code ...}</pre> block.

throws_class is the FQN/simple name of the exception class to use in the @throws tag (e.g. "KreuzbergRsException").