From 1051336cea51b2422bca4a9f9b5b35a4946df738 Mon Sep 17 00:00:00 2001 From: Artem Goncharov Date: Thu, 28 Nov 2024 16:09:21 +0100 Subject: [PATCH] Use single quotes for single char Address https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern Change-Id: If9868e827a03890bf81808565a9eca3cb72f5516 --- codegenerator/templates/rust_macros.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codegenerator/templates/rust_macros.j2 b/codegenerator/templates/rust_macros.j2 index c68033b..a7c5ec1 100644 --- a/codegenerator/templates/rust_macros.j2 +++ b/codegenerator/templates/rust_macros.j2 @@ -371,7 +371,7 @@ Some({{ val }}) {{ dst_var }}.{{ param.remote_name }}( val.iter() .cloned() - .map(|x| Vec::from([x.split(",").collect()])) + .map(|x| Vec::from([x.split(',').collect()])) .collect::>(), ); {%- elif param["setter_type"] is defined %}