cargo fmt

This commit is contained in:
Erio-Harrison 2025-08-19 21:41:54 +10:00
parent 9622a8f4e9
commit 39d07a5509
1 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ impl<'a> Stream<'a> {
acronym_lower == util::to_lowercase(&user_input) acronym_lower == util::to_lowercase(&user_input)
} }
fn filter_by_base_dir(&self, path: &str) -> bool { fn filter_by_base_dir(&self, path: &str) -> bool {
match &self.options.base_dir { match &self.options.base_dir {
Some(base_dir) => Path::new(path).starts_with(base_dir), Some(base_dir) => Path::new(path).starts_with(base_dir),
@ -272,4 +272,4 @@ mod tests {
let stream = Stream::new(db, options); let stream = Stream::new(db, options);
assert_eq!(is_match, stream.filter_by_keywords(path)); assert_eq!(is_match, stream.filter_by_keywords(path));
} }
} }