Skip to content

Commit

Permalink
docs: change sentence.
Browse files Browse the repository at this point in the history
  • Loading branch information
yassun7010 committed May 14, 2024
1 parent 933c3cc commit 9e851f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion serde_valid/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ let s = Data { val: 1 };
assert!(s.validate().is_ok());
```

custom is ideal for handling convenience validations not defined in JsonSchema.
custom validation is suitable for handling convenience validations not defined in JsonSchema.
`serde_valid::utils::*`` provides convenience functions for specific types.

```rust
Expand Down
2 changes: 1 addition & 1 deletion serde_valid/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@
//! assert!(s.validate().is_ok());
//! ```
//!
//! custom is ideal for handling convenience validations not defined in JsonSchema.
//! Custom validation is suitable for handling convenience validations not defined in JsonSchema.
//! `serde_valid::utils::*`` provides convenience functions for specific types.
//!
//! ```rust
Expand Down

0 comments on commit 9e851f6

Please sign in to comment.