From cecf758c3f6058e4b990279d8b4583ed467890bc Mon Sep 17 00:00:00 2001 From: dracarys18 Date: Sun, 7 Jun 2026 01:27:51 +0530 Subject: [PATCH] fmt --- src/db/dir.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/db/dir.rs b/src/db/dir.rs index 91e1144..d3a1ac2 100644 --- a/src/db/dir.rs +++ b/src/db/dir.rs @@ -34,10 +34,7 @@ impl Dir<'_> { } pub fn is_exact_match(&self, keyword: &str) -> bool { - let last = Path::new(self.path.as_ref()) - .file_name() - .and_then(|s| s.to_str()) - .unwrap_or(""); + let last = Path::new(self.path.as_ref()).file_name().and_then(|s| s.to_str()).unwrap_or(""); to_lowercase(last) == keyword } }