Fixed constructor args #60

This commit is contained in:
2026-06-03 19:51:27 +02:00
parent 269e43930f
commit c07e0bcb3e
4 changed files with 53 additions and 4 deletions
+5 -1
View File
@@ -38,7 +38,11 @@ impl GenRust for Literal {
Self::Tuple(values) => {
cg.add("(");
for val in values {
for (i, val) in values.iter().enumerate() {
if i > 0 {
cg.add(", ");
}
val.gen_rust(ctx, cg);
}