Skip to content

Commit

Permalink
make all typ fields public
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteOtter committed Feb 25, 2024
1 parent 73f53f5 commit 1e53ed7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structgen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub fn gen(name: &str, schema: &Schema) -> Option<String> {
}
}
result += "\t";
result += &prop_name.clone().into_safe();
result += &format!("pub {}", &prop_name.clone().into_safe());
result += ": ";
result += &type_name;
result += ",\n";
Expand Down

0 comments on commit 1e53ed7

Please sign in to comment.