From 5cabd12eb6a4fa5722f117a8369b09c3f11285bd Mon Sep 17 00:00:00 2001 From: aviac Date: Wed, 24 Jan 2024 21:43:03 +0100 Subject: fix(mistake): order of statements Authored-by: Aviac --- generator/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'generator/src') diff --git a/generator/src/main.rs b/generator/src/main.rs index 27fa5fb..97073ae 100644 --- a/generator/src/main.rs +++ b/generator/src/main.rs @@ -1079,8 +1079,8 @@ fn simple_query_array( &mut out, " if !{name}.is_empty() {{ + write!(f, \"{}=\")?; for (item, i) in {name}.iter().enumerate() {{ - write!(f, \"{}=\")?; {item_pusher} if i < {name}.len() - 1 {{ write!(f, '{sep}')?; -- cgit v1.2.3