mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 05:53:53 -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 cutoff = now.adding_secs(learn_ahead_secs);
|
||||||
let learn_count = intraday_learning
|
let learn_count = intraday_learning
|
||||||
.iter()
|
.iter()
|
||||||
.take_while(|e| e.due <= cutoff)
|
.filter(|e| e.due <= cutoff)
|
||||||
.count()
|
.count()
|
||||||
+ self.day_learning.len();
|
+ self.day_learning.len();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue