Skip to main content

parse_doc_comment

Function parse_doc_comment 

Source
pub fn parse_doc_comment(parts: &[String]) -> Option<DocComment>
Expand description

Parse one or more raw comment strings (e.g. from multiple preceding trivia tokens). If the combined text contains a block comment (/** ... */), only that block is used so that a preceding line comment (e.g. // Comment) does not corrupt the doc block.