From bae5d7165083c1353793a8e153002b4fd494bdeb Mon Sep 17 00:00:00 2001 From: Brandon Grimshaw Date: Wed, 15 Nov 2023 13:01:56 +1000 Subject: [PATCH] Make public-facing type aliases public --- src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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