diff options
Diffstat (limited to 'src/pattern/search_mode.rs')
-rw-r--r-- | src/pattern/search_mode.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pattern/search_mode.rs b/src/pattern/search_mode.rs index 8cadc2d..d903e84 100644 --- a/src/pattern/search_mode.rs +++ b/src/pattern/search_mode.rs @@ -129,7 +129,7 @@ impl SearchModeMapEntry { let mut search_objects = Vec::new(); let s = conf_mode.to_lowercase(); - for t in s.trim().split_whitespace() { + for t in s.split_whitespace() { match t { "exact" => search_kinds.push(SearchKind::Exact), "fuzzy" => search_kinds.push(SearchKind::Fuzzy), |