From dc0db358abe19481e475e10c32149b53370f1a1c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 30 May 2024 05:57:31 +0200 Subject: Merging upstream version 1.72.1+dfsg1. Signed-off-by: Daniel Baumann --- vendor/gix-path/src/realpath.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vendor/gix-path/src') 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() { -- cgit v1.2.3