Formating with fmt
This commit is contained in:
1 parent
de2dbaf6c1
commit
bf805b79e5
13 files changed
+44
-42
No files matched your search
@@ -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")
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user