Skip to content

DesignCraft: An open-source page and layout design editor written by scratch in pure Rust

refactor(compose): move hyphen/mod.rs to hyphen.rs

aiongg29d10be43521
diff --git a/crates/compose/src/hyphen/mod.rs b/crates/compose/src/hyphen.rs
similarity index 99%
rename from crates/compose/src/hyphen/mod.rs
rename to crates/compose/src/hyphen.rs
index 57b75d63b..3f07f4b40 100644
--- a/crates/compose/src/hyphen/mod.rs
+++ b/crates/compose/src/hyphen.rs
@@ -26,8 +26,8 @@ use std::sync::OnceLock;
pub use dict::Dictionary;
pub use patterns::Patterns;
-static EN_US_DIC: &[u8] = include_bytes!("../../../../assets/hyphenation/en-us.dic");
-static EN_US_PAT: &str = include_str!("../../../../assets/hyphenation/en-us.pat");
+static EN_US_DIC: &[u8] = include_bytes!("../../../assets/hyphenation/en-us.dic");
+static EN_US_PAT: &str = include_str!("../../../assets/hyphenation/en-us.pat");
impl Dictionary {
/// The bundled US English dictionary (decoded on first use).