foundry_compilers_core::utils

Function strip_prefix

Source
pub fn strip_prefix<'a>(source: &'a Path, root: &Path) -> &'a Path
Expand description

Strips root from source and returns the relative path.