mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 12:47:11 -05:00
Replace [].as_slice() with &[]
This commit is contained in:
parent
7da36cc385
commit
547a4fb0b8
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ impl Collection {
|
|||
|
||||
let Some(req) = &req else {
|
||||
let items = fsrs_items_for_memory_states(
|
||||
&FSRS::new(Some([].as_slice()))?,
|
||||
&FSRS::new(Some(&[]))?,
|
||||
revlog,
|
||||
timing.next_day_at,
|
||||
0.9,
|
||||
|
|
|
|||
Loading…
Reference in a new issue