reformat code and write benchmark

This commit is contained in:
2026-05-12 16:57:05 +03:00
parent ee817a8e8c
commit 6d656c35e1
9 changed files with 367 additions and 62 deletions
+1 -1
View File
@@ -144,7 +144,7 @@ impl DictionaryQuizState {
self.score.total += 1;
}
if self.answer == self.correct
|| split_with_coma(self.correct.clone()).contains(&self.answer)
|| split_with_coma(self.correct.as_str()).contains(&self.answer)
{
if self.is_help == false {
self.score.correct += 1;