Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Lanham committed Sep 18, 2024
1 parent c8ad29c commit 0116b3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion derive-macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ fn gen_schema_fields(data: &Data) -> TokenStream {
let name = field.ident.as_ref().unwrap(); // we know these are named fields
let name = get_schema_name(name);
let have_schema_null = field.attrs.iter().any(|attr| {
// check if we have schema_map_values_null attr
// check if we have drop_null_container_values attr
match &attr.meta {
Meta::Path(path) => path.get_ident().is_some_and(|ident| ident == "drop_null_container_values"),
_ => false,
Expand Down

0 comments on commit 0116b3f

Please sign in to comment.