Skip to content

Commit

Permalink
Merge #259
Browse files Browse the repository at this point in the history
259: Fix compilation when vietnamese feature is disabled r=irevoire a=timvisee

# Pull Request

## Related issue
Fixes <#258>

## What does this PR do?
- Fixes compilation without `vietnamese` feature
- Puts related import behind conditional feature attribute

## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!


Co-authored-by: timvisee <[email protected]>
  • Loading branch information
meili-bors[bot] and timvisee authored Jan 30, 2024
2 parents 286ef64 + cd9de05 commit ecd5e99
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions charabia/src/normalizer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ pub use self::japanese::JapaneseNormalizer;
pub use self::lowercase::LowercaseNormalizer;
use self::nonspacing_mark::NonspacingMarkNormalizer;
use self::quote::QuoteNormalizer;
#[cfg(feature = "vietnamese")]
pub use self::vietnamese::VietnameseNormalizer;
use crate::segmenter::SegmentedTokenIter;
use crate::Token;
Expand Down

0 comments on commit ecd5e99

Please sign in to comment.