Skip to main content

strip_source_root_owned

Function strip_source_root_owned 

Source
pub fn strip_source_root_owned(path: &Path, source_roots: &[&str]) -> PathBuf
Expand description

Strip configured source roots from a path, returning owned PathBuf.

Same as strip_source_root but returns an owned PathBuf.