diff options
Diffstat (limited to 'vendor/gix-path/src')
-rw-r--r-- | vendor/gix-path/src/realpath.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/gix-path/src/realpath.rs b/vendor/gix-path/src/realpath.rs index 807cb74cc..8b88eb15e 100644 --- a/vendor/gix-path/src/realpath.rs +++ b/vendor/gix-path/src/realpath.rs @@ -58,7 +58,7 @@ pub(crate) mod function { let mut components = path.components(); while let Some(component) = components.next() { match component { - part @ RootDir | part @ Prefix(_) => real_path.push(part), + part @ (RootDir | Prefix(_)) => real_path.push(part), CurDir => {} ParentDir => { if !real_path.pop() { |