Skip to content

Commit

Permalink
docs: update.
Browse files Browse the repository at this point in the history
  • Loading branch information
yassun7010 committed Jun 22, 2024
1 parent 78c607f commit 4391f9b
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 @@ -177,8 +177,8 @@ assert_eq!(
You can also use [fluent](https://projectfluent.org/) localization by using `fluent` feature.

Allow the following attributes:
- `#[validate(..., fluent("message-id", key1 = value1, ...))]`
- `#[validate(..., message_l10n = fluent("message-id", key1 = value1, ...))]`
- `#[validate(..., fluent("message-id", key1 = value1, ...))]`

```rust
use unic_langid::LanguageIdentifier;
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 @@ -177,8 +177,8 @@
//! You can also use [fluent](https://projectfluent.org/) localization by using `fluent` feature.
//!
//! Allow the following attributes:
//! - `#[validate(..., fluent("message-id", key1 = value1, ...))]`
//! - `#[validate(..., message_l10n = fluent("message-id", key1 = value1, ...))]`
//! - `#[validate(..., fluent("message-id", key1 = value1, ...))]`
//!
//! ```rust
//! # #[cfg(feature = "fluent")] {
Expand Down

0 comments on commit 4391f9b

Please sign in to comment.