diff --git a/src/lib.rs b/src/lib.rs index a800580..1aed5f3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -55,13 +55,18 @@ impl PathClean for PathBuf { /// 5. Leave intact `..` elements that begin a non-rooted path. /// /// If the result of this process is an empty string, return the string `"."`, representing the current directory. +#[inline] pub fn clean
(path: P) -> PathBuf
where
P: AsRef