Update rslib/src/stats/card.rs

Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
This commit is contained in:
Jarrett Ye 2025-09-24 09:43:08 +08:00 committed by GitHub
parent b0990c102c
commit 2b65f7079a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -80,6 +80,7 @@ impl Collection {
.iter() .iter()
.find(|entry| entry.has_rating()) .find(|entry| entry.has_rating())
.map(|entry| entry.id.as_secs().0), .map(|entry| entry.id.as_secs().0),
// last_review_time is not used to ensure cram revlogs are included.
latest_review: revlog latest_review: revlog
.iter() .iter()
.rfind(|entry| entry.has_rating()) .rfind(|entry| entry.has_rating())