From d6475eee6df6de00d3fd631705a13b36c7ce3d42 Mon Sep 17 00:00:00 2001 From: Charles Hall Date: Fri, 21 Mar 2025 16:48:56 -0700 Subject: [PATCH] remove redundant condition --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index 8f3b2116..4a174c35 100644 --- a/src/config.rs +++ b/src/config.rs @@ -570,5 +570,5 @@ where /// Returns `true` if two paths overlap. fn overlap(a: &Path, b: &Path) -> bool { - a == b || a.starts_with(b) || b.starts_with(a) + a.starts_with(b) || b.starts_with(a) }