diff options
Diffstat (limited to '')
| -rw-r--r-- | atuin-client/src/ordering.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/atuin-client/src/ordering.rs b/atuin-client/src/ordering.rs index 0bb12c6a..4e5ec84c 100644 --- a/atuin-client/src/ordering.rs +++ b/atuin-client/src/ordering.rs @@ -1,7 +1,7 @@ -use super::history::History; -use super::settings::SearchMode; use minspan::minspan; +use super::{history::History, settings::SearchMode}; + pub fn reorder_fuzzy(mode: SearchMode, query: &str, res: Vec<History>) -> Vec<History> { match mode { SearchMode::Fuzzy => reorder(query, |x| &x.command, res), |
