diff --git a/src/conversion.rs b/src/conversion/mod.rs similarity index 100% rename from src/conversion.rs rename to src/conversion/mod.rs diff --git a/src/dictionary.rs b/src/dictionary/mod.rs similarity index 100% rename from src/dictionary.rs rename to src/dictionary/mod.rs diff --git a/src/editor/keyboard.rs b/src/editor/keyboard/mod.rs similarity index 100% rename from src/editor/keyboard.rs rename to src/editor/keyboard/mod.rs diff --git a/src/editor.rs b/src/editor/mod.rs similarity index 99% rename from src/editor.rs rename to src/editor/mod.rs index ae4ba6eef..a1d08e4a8 100644 --- a/src/editor.rs +++ b/src/editor/mod.rs @@ -968,7 +968,7 @@ impl Selecting { C: ConversionEngine>, { // FIXME load from data - let reader = io::Cursor::new(include_str!("../data/symbols.dat")); + let reader = io::Cursor::new(include_str!("../../data/symbols.dat")); let sel = SymbolSelector::new(reader).expect("parse symbols table"); Selecting { page_no: 0, diff --git a/src/editor/syllable.rs b/src/editor/syllable/mod.rs similarity index 100% rename from src/editor/syllable.rs rename to src/editor/syllable/mod.rs diff --git a/src/zhuyin.rs b/src/zhuyin/mod.rs similarity index 100% rename from src/zhuyin.rs rename to src/zhuyin/mod.rs