Browse Source

Debug trait on Dictionary

Blallo 4 năm trước cách đây
mục cha
commit
1b96ac1177
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/main.rs

+ 2 - 2
src/main.rs

@@ -10,8 +10,8 @@ use unidecode::unidecode;
 
 use std::collections::HashSet;
 
-#[derive(Default)]
-struct  Dictionary{
+#[derive(Default, Debug)]
+struct Dictionary {
     words: Vec<String>,
     iter_position: usize,
 }