Skip to main content

read_module_source

Function read_module_source 

Source
pub fn read_module_source(path: &Path) -> Option<String>
Expand description

Return the source for a resolved module path.

Real paths are read from disk. <std>/<module> virtual paths are backed by the embedded stdlib source table, so callers can parse resolved stdlib modules without knowing about the stdlib mirror layout.