Replace [].as_slice() with &[]

This commit is contained in:
Daniel Pechersky 2025-10-25 09:22:49 -07:00
parent 7da36cc385
commit 547a4fb0b8
No known key found for this signature in database

View file

@ -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,