Change text type in word to Box<str>

This commit is contained in:
micialware committed 2026-09-09 11:04:02 +03:00
1 parent 4a71f31e6f
commit bffc81cda9
7 files changed
+32 -26

No files matched your search

+4 -4
View File
@@ -188,11 +188,11 @@ impl DictionaryQuizState {
let repo = self.state.dictionary.read();
let next = repo.get_static(next).unwrap();
if self.reverse {
self.view = next.value;
self.correct = next.key;
self.view = next.value.to_string();
self.correct = next.key.to_string();
} else {
self.view = next.key;
self.correct = next.value;
self.view = next.key.to_string();
self.correct = next.value.to_string();
}
}