mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Apply suggestions from code review
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
This commit is contained in:
parent
4c69989479
commit
76fa585919
2 changed files with 3 additions and 3 deletions
|
@ -7,8 +7,8 @@ database-check-card-properties =
|
|||
}
|
||||
database-check-card-last-review-time-empty =
|
||||
{ $count ->
|
||||
[one] Fixed { $count } card with no last review time.
|
||||
*[other] Fixed { $count } cards with no last review time.
|
||||
[one] Filled missing last review time in { $count } card.
|
||||
*[other] Filled missing last review time in { $count } cards.
|
||||
}
|
||||
database-check-missing-templates =
|
||||
{ $count ->
|
||||
|
|
|
@ -313,7 +313,7 @@ pub(crate) struct LastRevlogInfo {
|
|||
pub(crate) last_reviewed_at: Option<TimestampSecs>,
|
||||
}
|
||||
|
||||
/// Return a map of cards to info about last review/reschedule.
|
||||
/// Return a map of cards to info about last review.
|
||||
pub(crate) fn get_last_revlog_info(revlogs: &[RevlogEntry]) -> HashMap<CardId, LastRevlogInfo> {
|
||||
let mut out = HashMap::new();
|
||||
revlogs
|
||||
|
|
Loading…
Reference in a new issue