diff options
author | aviac <aviac@mailbox.org> | 2024-01-24 21:43:03 +0100 |
---|---|---|
committer | aviac <aviac@mailbox.org> | 2024-01-24 21:43:03 +0100 |
commit | 5cabd12eb6a4fa5722f117a8369b09c3f11285bd (patch) | |
tree | 558897261e07541b31cc1cb7f619d507cbf0ff63 /generator | |
parent | fix(list): adjust broken generated code (diff) | |
download | forgejo-api-5cabd12eb6a4fa5722f117a8369b09c3f11285bd.tar.xz forgejo-api-5cabd12eb6a4fa5722f117a8369b09c3f11285bd.zip |
fix(mistake): order of statements
Authored-by: Aviac <aviac@mailbox.org>
Diffstat (limited to 'generator')
-rw-r--r-- | generator/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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}')?; |