Skip to main content

module_path_to_file

Function module_path_to_file 

Source
pub fn module_path_to_file(
    module_path: &str,
    current_file: &str,
    module_root: &Path,
) -> Option<PathBuf>
Expand description

Maps a module path (e.g. crate::foo::bar) to a source file.