From 5567293fcd62aefac56901344dc7a8c7f7a7e91f Mon Sep 17 00:00:00 2001 From: Integral Date: Wed, 18 Dec 2024 14:33:49 +0800 Subject: [PATCH] ci: fix clippy lint --- src/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.rs b/src/utils.rs index b8c806f..796ca11 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -629,7 +629,7 @@ pub struct Preferences { pub hide_score: String, } -fn serialize_vec_with_plus(vec: &Vec, serializer: S) -> Result +fn serialize_vec_with_plus(vec: &[String], serializer: S) -> Result where S: Serializer, {