Skip to content

Commit

Permalink
refactor: matcher mod
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaoses-Ib committed Dec 16, 2023
1 parent a2c0fe0 commit 50162b9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ pub mod matcher;
#[cfg(feature = "minimal")]
pub mod minimal;
pub mod pinyin;
mod unicode;
8 changes: 4 additions & 4 deletions src/matcher.rs → src/matcher/mod.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
use std::{borrow::Cow, ops::Range};

use crate::{
pinyin::{PinyinData, PinyinNotation},
unicode::{CharToMonoLowercase, StrToMonoLowercase},
};
use crate::pinyin::{PinyinData, PinyinNotation};

mod unicode;
use unicode::{CharToMonoLowercase, StrToMonoLowercase};

pub struct PinyinMatcherBuilder<'a> {
pattern: String,
Expand Down
File renamed without changes.

0 comments on commit 50162b9

Please sign in to comment.