mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
clippy
This commit is contained in:
parent
d71a3c7413
commit
14f9c139d3
1 changed files with 1 additions and 1 deletions
|
@ -399,7 +399,7 @@ impl super::SqliteStorage {
|
||||||
if let Some(mut card) = card {
|
if let Some(mut card) = card {
|
||||||
if card.ctype != CardType::New && card.last_review_time.is_none() {
|
if card.ctype != CardType::New && card.last_review_time.is_none() {
|
||||||
card.last_review_time = last_revlog_info.last_reviewed_at;
|
card.last_review_time = last_revlog_info.last_reviewed_at;
|
||||||
self.update_card(&mut card)?;
|
self.update_card(&card)?;
|
||||||
last_review_time_cnt += 1;
|
last_review_time_cnt += 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue