Skip to main content

doc_lines

Function doc_lines 

pub fn doc_lines(attrs: &[Attribute]) -> Vec<String>
Expand description

The raw lines of a doc comment, one leading space stripped, in source order.

Kept raw on purpose: a module’s //! documentation carries headings, tables and lists that a paragraph collapse would destroy.