Skip to content

Commit

Permalink
Update params.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
user1823 committed Jan 13, 2025
1 parent 2aec170 commit 5d59c94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rslib/src/scheduler/fsrs/params.rs
Original file line number Diff line number Diff line change
Expand Up @@ -341,8 +341,8 @@ pub(crate) fn reviews_for_fsrs(
entries.drain(..idx);
}
} else {
// if no valid user grades were found, drain all entries
entries.drain(..);
// if no valid user grades were found, ignore the card.
return None;
}

// Filter out unwanted entries
Expand Down

0 comments on commit 5d59c94

Please sign in to comment.