aboutsummaryrefslogtreecommitdiff
path: root/src/dictionary.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/dictionary.rs')
-rw-r--r--src/dictionary.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dictionary.rs b/src/dictionary.rs
index 94f377d..e651e71 100644
--- a/src/dictionary.rs
+++ b/src/dictionary.rs
@@ -5,6 +5,7 @@ use crate::vector::FileVector;
/// It also provides a function to convert it to
/// a vector and generate a FileVector from a word list
/// with the current directory.
+#[derive(Clone, Debug)]
pub struct Dictionary {
last_index : usize,
data : HashMap<String, u64>,