From 937bb3765b12b95ca237c9a736992fb91e36c0c4 Mon Sep 17 00:00:00 2001 From: user1823 <92206575+user1823@users.noreply.github.com> Date: Thu, 19 Jun 2025 21:38:06 +0530 Subject: [PATCH] Format --- rslib/src/scheduler/fsrs/memory_state.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rslib/src/scheduler/fsrs/memory_state.rs b/rslib/src/scheduler/fsrs/memory_state.rs index d74333e88..fa6692fbf 100644 --- a/rslib/src/scheduler/fsrs/memory_state.rs +++ b/rslib/src/scheduler/fsrs/memory_state.rs @@ -105,7 +105,8 @@ 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 and + // Stats don't need to access the deck config card.desired_retention = desired_retention; card.decay = decay; if let (Some(req), Some(item)) = (&req, item) {