Skip to main content

from_rustdoc

Function from_rustdoc 

Source
pub fn from_rustdoc(doc: &Value, source_root: &Path) -> Surface
Expand description

Build a surface from a rustdoc JSON document. source_root resolves the relative filenames in spans (the directory rustdoc ran in).