Skip to content

Commit

Permalink
docs: update.
Browse files Browse the repository at this point in the history
  • Loading branch information
yassun7010 committed May 15, 2024
1 parent e10df9c commit bb6c8f3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion serde_valid/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,8 @@ let s = Data {
assert!(s.validate().is_ok());
```

### Rules
<details>
<summary><h3><s>Rules</s></h3> (Deprecated)</summary>

🚸 **Warning** 🚸 : this feature is deprecated. Please use `#[validate(custom)]` instead.

Expand Down Expand Up @@ -388,6 +389,7 @@ let s = Data(0, "1".to_owned());

assert!(s.validate().is_ok());
```
</details>

## Validate Traits

Expand Down
4 changes: 3 additions & 1 deletion serde_valid/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,8 @@
//! assert!(s.validate().is_ok());
//! ```
//!
//! ### Rules
//! <details>
//! <summary><h3><s>Rules</s></h3> (Deprecated)</summary>
//!
//! 🚸 **Warning** 🚸 : this feature is deprecated. Please use `#[validate(custom)]` instead.
//!
Expand Down Expand Up @@ -398,6 +399,7 @@
//!
//! assert!(s.validate().is_ok());
//! ```
//! </details>
//!
//! ## Validate Traits
//!
Expand Down

0 comments on commit bb6c8f3

Please sign in to comment.