mirror of
https://github.com/ankitects/anki.git
synced 2026-01-14 06:23:57 -05:00
Fix formatting
This commit is contained in:
parent
e95c534fcd
commit
e674fd91d1
1 changed files with 5 additions and 1 deletions
|
|
@ -73,7 +73,11 @@ impl CardStateUpdater {
|
|||
let last_ivl_with_fuzz = self.learning_ivl_with_fuzz(
|
||||
get_fuzz_seed_for_id_and_reps(
|
||||
self.card.id,
|
||||
if self.card.reps > 0 { self.card.reps - 1 } else { 0 }
|
||||
if self.card.reps > 0 {
|
||||
self.card.reps - 1
|
||||
} else {
|
||||
0
|
||||
},
|
||||
),
|
||||
last_ivl,
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue