Skip to content

Commit

Permalink
zig: constants attribution
Browse files Browse the repository at this point in the history
  • Loading branch information
kassane committed Sep 29, 2024
1 parent 10a57d0 commit f664770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bindgen/ir/constant.rs
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ impl Constant {
}
Language::Zig => {
out.write(config.style.zig_def());
write!(out, "{} ", name);
write!(out, "{} = ", name);
language_backend.write_literal(out, value);
out.write(";");
}
Expand Down

0 comments on commit f664770

Please sign in to comment.