mirror of
https://github.com/ankitects/anki.git
synced 2026-01-09 03:53:55 -05:00
Also update queue/builder/mod.rs
This commit is contained in:
parent
1e9fca2ecc
commit
bef595ae13
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ impl QueueBuilder {
|
|||
let cutoff = now.adding_secs(learn_ahead_secs);
|
||||
let learn_count = intraday_learning
|
||||
.iter()
|
||||
.take_while(|e| e.due <= cutoff)
|
||||
.filter(|e| e.due <= cutoff)
|
||||
.count()
|
||||
+ self.day_learning.len();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue