Fix comment typo

This commit is contained in:
RumovZ 2021-03-30 21:40:35 +02:00
parent 1ad91a5312
commit f530c6d852

View File

@ -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())