diff options
author | Canop <cano.petrole@gmail.com> | 2019-10-23 17:25:47 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2019-10-23 17:25:47 +0200 |
commit | 34d760afb02e986b4c109127ba3027f0783a0e00 (patch) | |
tree | be53f28aed6c7e87ea9a84b2634856d15eaa94d6 /src/fuzzy_patterns.rs | |
parent | 1b5060a3fa7eccfa9fb5d675bcaff1d45a577581 (diff) |
move to the last versions of crossterm and termimad
Diffstat (limited to 'src/fuzzy_patterns.rs')
-rw-r--r-- | src/fuzzy_patterns.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fuzzy_patterns.rs b/src/fuzzy_patterns.rs index 55dea55..8a741fd 100644 --- a/src/fuzzy_patterns.rs +++ b/src/fuzzy_patterns.rs @@ -2,9 +2,10 @@ //! It's not meant for file contents but for small strings (less than 1000 chars) //! such as file names. -use crate::patterns::Match; use std::fmt::{self, Write}; +use crate::patterns::Match; + // weights used in match score computing const BONUS_MATCH: i32 = 50_000; const BONUS_EXACT: i32 = 1_000; |