Fix comment typo
This commit is contained in:
parent
1ad91a5312
commit
f530c6d852
@ -171,7 +171,7 @@ impl Card {
|
|||||||
(self.queue as i8) < 0
|
(self.queue as i8) < 0
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns true of the card has a due date in terms of days.
|
/// Returns true if the card has a due date in terms of days.
|
||||||
fn is_due_in_days(&self) -> bool {
|
fn is_due_in_days(&self) -> bool {
|
||||||
matches!(self.queue, CardQueue::DayLearn | CardQueue::Review)
|
matches!(self.queue, CardQueue::DayLearn | CardQueue::Review)
|
||||||
|| (self.ctype == CardType::Review && self.is_undue_queue())
|
|| (self.ctype == CardType::Review && self.is_undue_queue())
|
||||||
|
Loading…
Reference in New Issue
Block a user