From 2761639c8d7eabc176be6b5249dac1603a136297 Mon Sep 17 00:00:00 2001 From: yggverse Date: Tue, 12 Aug 2025 01:03:14 +0300 Subject: [PATCH] add comment --- src/public.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/public.rs b/src/public.rs index 9c9ae96..f99a7c5 100644 --- a/src/public.rs +++ b/src/public.rs @@ -103,9 +103,10 @@ impl Public { keyword: Option<&str>, sort_order: Option<(Sort, Order)>, ) -> Result, Error> { + /// Search keyword separators const S: &[char] = &[ '_', '-', ':', ';', ',', '(', ')', '[', ']', '/', '!', '?', - ' ', // @TODO make separators list optional + ' ', // @TODO make optional ]; let mut files = Vec::with_capacity(self.default_capacity); for dir_entry in fs::read_dir(&self.root)? {