Skip to content

Commit

Permalink
move: fluent to export.
Browse files Browse the repository at this point in the history
  • Loading branch information
yassun7010 committed Jan 14, 2024
1 parent 7203955 commit 6eaa23f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion serde_valid/src/features/fluent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ mod message;
mod try_localize;

pub use error::LocalizedError;
pub use fluent::{FluentBundle, FluentError, FluentResource, FluentValue};
pub use localize::Localize;
pub use message::Message;
pub use try_localize::TryLocalize;
2 changes: 1 addition & 1 deletion serde_valid_derive/src/attribute/common/message_format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ fn get_fluent_message(
if let NestedMeta::Meta(syn::Meta::NameValue(name_value)) = arg {
let key = &name_value.path.to_token_stream().to_string();
let value = &name_value.value;
Some(quote!((#key, ::serde_valid::fluent::FluentValue::from(#value))))
Some(quote!((#key, ::serde_valid::export::fluent::FluentValue::from(#value))))
} else {
errors.push(crate::Error::fluent_allow_args(message_type, arg));
None
Expand Down

0 comments on commit 6eaa23f

Please sign in to comment.