Formating with fmt

This commit is contained in:
micialware committed 2026-08-19 23:51:41 +03:00
1 parent de2dbaf6c1
commit bf805b79e5
13 files changed
+44 -42

No files matched your search

+3 -6
View File
@@ -171,14 +171,11 @@ impl DictionaryQuizState {
self.is_help = false;
self.answer = String::new();
let next : WordData =
match self.current_set.pop() {
Some(word) => {
word
}
let next: WordData = match self.current_set.pop() {
Some(word) => word,
None => {
self.update_set();
self.current_set.pop().expect("Empty set")
self.current_set.pop().expect("Empty set")
}
};