Skip to main content

parse_comment_content

Function parse_comment_content 

Source
pub fn parse_comment_content(content: &str, is_block: bool) -> DocComment
Expand description

Parse a single raw comment string (e.g. /// line or /** ... */) into a DocComment. Used by .sig loader for Doxygen-style blocks. is_block is true for /***/.