Skip to content

Commit

Permalink
Merge branch 'main' of github.com:yassun4dev/serde_valid into remove_…
Browse files Browse the repository at this point in the history
…deprecated_rule
  • Loading branch information
yassun7010 committed Jan 6, 2025
2 parents 3fc3614 + 8b5ed56 commit c012fdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/serde_valid_derive/src/derive/enum_derive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ fn expand_enum_variant_named_fields_validation(
let mut __rule_vec_errors = ::serde_valid::validation::VecErrors::new();
let mut __property_vec_errors_map = ::serde_valid::validation::PropertyVecErrorsMap::new();

#enum_validates
#validates
#enum_validates

if !(__rule_vec_errors.is_empty() && __property_vec_errors_map.is_empty()) {
Err(#variant_errors)?
Expand Down

0 comments on commit c012fdc

Please sign in to comment.