reformat code and write benchmark
This commit is contained in:
1 parent
ee817a8e8c
commit
6d656c35e1
9 files changed
+367
-62
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user