shorten the comment

This commit is contained in:
Jarrett Ye 2024-12-17 00:32:22 +08:00
parent 72821d878f
commit 80facd0c5a

View file

@ -313,7 +313,7 @@ pub(crate) fn single_card_revlog_to_item(
if first_review.ease_factor <= 1.1 { if first_review.ease_factor <= 1.1 {
starting_state.difficulty = (first_review.ease_factor - 0.1) * 9.0 + 1.0; starting_state.difficulty = (first_review.ease_factor - 0.1) * 9.0 + 1.0;
} }
// remove the first review because it has been used to calculate the starting state // remove the first review because it has been converted to the starting state
item.reviews.remove(0); item.reviews.remove(0);
Ok(Some(FsrsItemWithStartingState { Ok(Some(FsrsItemWithStartingState {
item, item,