Skip to main content

doc

Function doc 

Source
pub fn doc(file: FileId, literal: &str) -> Option<DocComment>
Expand description

Build a DocComment from a literal that has no real source range — file names its logical home (e.g. FileId::PRELUDE or a stdlib id).