diff --git a/src/lib.rs b/src/lib.rs index 3ecf6cc..08a8d8d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -3,14 +3,14 @@ pub mod skim; mod util; #[cfg(not(feature = "compact"))] -type IndexType = usize; +pub type IndexType = usize; #[cfg(not(feature = "compact"))] -type ScoreType = i64; +pub type ScoreType = i64; #[cfg(feature = "compact")] -type IndexType = u32; +pub type IndexType = u32; #[cfg(feature = "compact")] -type ScoreType = i32; +pub type ScoreType = i32; pub trait FuzzyMatcher: Send + Sync { /// fuzzy match choice with pattern, and return the score & matched indices of characters