chore: update mod.rs

formating -> formatting
This commit is contained in:
Ikko Eltociear Ashimine 2024-12-21 22:09:15 +09:00 committed by GitHub
parent 6987cac1ba
commit 75a7f0e26c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,7 +18,7 @@ const DEFAULT_CROP_MARKER: &str = "…";
const DEFAULT_HIGHLIGHT_PREFIX: &str = "<em>"; const DEFAULT_HIGHLIGHT_PREFIX: &str = "<em>";
const DEFAULT_HIGHLIGHT_SUFFIX: &str = "</em>"; const DEFAULT_HIGHLIGHT_SUFFIX: &str = "</em>";
/// Structure used to build a Matcher allowing to customize formating tags. /// Structure used to build a Matcher allowing to customize formatting tags.
pub struct MatcherBuilder<'m> { pub struct MatcherBuilder<'m> {
matching_words: MatchingWords, matching_words: MatchingWords,
tokenizer: Tokenizer<'m>, tokenizer: Tokenizer<'m>,