From 80facd0c5a974235fb22586404169b43c0a12830 Mon Sep 17 00:00:00 2001 From: Jarrett Ye Date: Tue, 17 Dec 2024 00:32:22 +0800 Subject: [PATCH] shorten the comment --- rslib/src/scheduler/fsrs/memory_state.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rslib/src/scheduler/fsrs/memory_state.rs b/rslib/src/scheduler/fsrs/memory_state.rs index 457284ebf..c762132d6 100644 --- a/rslib/src/scheduler/fsrs/memory_state.rs +++ b/rslib/src/scheduler/fsrs/memory_state.rs @@ -313,7 +313,7 @@ pub(crate) fn single_card_revlog_to_item( if first_review.ease_factor <= 1.1 { 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); Ok(Some(FsrsItemWithStartingState { item,