Skip to main content

module_root_from_file

Function module_root_from_file 

Source
pub fn module_root_from_file(file_path: &str) -> PathBuf
Expand description

Derives a module root (usually <crate>/src) from a file path.