Removed unsafe warning (will work on later)

This commit is contained in:
2026-05-10 03:19:08 +02:00
parent dff77a8c01
commit f69c53d3fc
+1
View File
@@ -394,6 +394,7 @@ impl ToRust for TopLevelKind {
.collect::<Vec<_>>()
.join(", ");
cg.add_indentedln("#[allow(invalid_value)]");
cg.add_indentedln(&format!(
"{}fn new{}({}) -> Self {{",
constructor.visibility.get_rust(),