From 693672d7a3072c9cdbbcd5fc9a7f222f49d90c0a Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 24 Dec 2021 13:09:19 +1000 Subject: [PATCH] remove extraneous to_vec() call --- rslib/src/storage/card/mod.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/rslib/src/storage/card/mod.rs b/rslib/src/storage/card/mod.rs index ce9318082..4d511ec2d 100644 --- a/rslib/src/storage/card/mod.rs +++ b/rslib/src/storage/card/mod.rs @@ -404,11 +404,10 @@ impl super::SqliteStorage { ":new_queue": CardQueue::New as i8, ":review_queue": CardQueue::Review as i8, ":daylearn_queue": CardQueue::DayLearn as i8, - } - .to_vec(); + }; self.db .prepare_cached(include_str!("siblings_for_bury.sql"))? - .execute(&*params)?; + .execute(params)?; Ok(()) }