Skip to content

Commit

Permalink
fix: test case.
Browse files Browse the repository at this point in the history
  • Loading branch information
yassun7010 committed Jan 8, 2024
1 parent 5357df1 commit d2f5c02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serde_valid/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@
//! }
//!
//! #[derive(Validate)]
//! #[validate(custom(|s| sample_validation(s.val1, &s.val2)))]
//! struct SampleStruct {
//! #[validate(custom(|s| sample_validation(s.val1, &s.val2)))]
//! val1: i32,
//! val2: String,
//! }
Expand Down

0 comments on commit d2f5c02

Please sign in to comment.