From 94ccc3c4c6538f82a4e360e24791d918a21e2a56 Mon Sep 17 00:00:00 2001 From: user1823 <92206575+user1823@users.noreply.github.com> Date: Thu, 19 Jun 2025 22:02:08 +0530 Subject: [PATCH] Update memory_state.rs --- rslib/src/scheduler/fsrs/memory_state.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rslib/src/scheduler/fsrs/memory_state.rs b/rslib/src/scheduler/fsrs/memory_state.rs index 3822711f5..5150b4a30 100644 --- a/rslib/src/scheduler/fsrs/memory_state.rs +++ b/rslib/src/scheduler/fsrs/memory_state.rs @@ -105,8 +105,9 @@ impl Collection { progress.update(true, |state| state.current_cards = idx as u32 + 1)?; let mut card = self.storage.get_card(card_id)?.or_not_found(card_id)?; let original = card.clone(); - // store decay and desired retention in the card so that add-ons, card info and - // Stats don't need to access the deck config + // store decay and desired retention in the card so that add-ons, card info, + // Stats and browser search/sorts don't need to access the deck config. + // Values stored in the card are not used by the scheduler. card.desired_retention = desired_retention; card.decay = decay; if let (Some(req), Some(item)) = (&req, item) {