Rewrite for dictionary indexer
This commit is contained in:
+1
-1
@@ -581,7 +581,7 @@ impl RepetitionsState {
|
||||
let words = &state.dictionary;
|
||||
let stats = &mut indices
|
||||
.map(|i| {
|
||||
let word = words.get(i).unwrap();
|
||||
let word = &words[i];
|
||||
CardStatistics {
|
||||
id: 0.into(),
|
||||
word_id: word.id,
|
||||
|
||||
Reference in New Issue
Block a user