reformat code and write benchmark

This commit is contained in:
micialware committed 2026-05-12 16:57:05 +03:00
1 parent ee817a8e8c
commit 6d656c35e1
9 files changed
+367 -62

No files matched your search

+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;