Skip to content

Commit

Permalink
chore: docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
yassun7010 committed Jun 22, 2024
1 parent 4391f9b commit d1741c5
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 @@ -188,7 +188,7 @@ use serde_valid::{fluent::Localize, Validate};

#[derive(Validate)]
struct Data (
#[validate(min_length = 3, message_l10n = fluent("name-min-length", min_length = 3))]
#[validate(min_length = 3, fluent("name-min-length", min_length = 3))]
String,
);

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 @@ -197,7 +197,7 @@
//!
//! #[derive(Validate)]
//! struct Data (
//! #[validate(min_length = 3, message_l10n = fluent("name-min-length", min_length = 3))]
//! #[validate(min_length = 3, fluent("name-min-length", min_length = 3))]
//! String,
//! );
//!
Expand Down

0 comments on commit d1741c5

Please sign in to comment.