ci: fix clippy lint

This commit is contained in:
Integral 2024-12-18 14:33:49 +08:00
parent 7770b71ae3
commit 5567293fcd
No known key found for this signature in database
GPG key ID: 06313911057DD5A8

View file

@ -629,7 +629,7 @@ pub struct Preferences {
pub hide_score: String,
}
fn serialize_vec_with_plus<S>(vec: &Vec<String>, serializer: S) -> Result<S::Ok, S::Error>
fn serialize_vec_with_plus<S>(vec: &[String], serializer: S) -> Result<S::Ok, S::Error>
where
S: Serializer,
{