Skip to content

Commit

Permalink
fix: number to formatter macro syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
sabify committed Feb 11, 2025
1 parent e53810f commit b223c2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion leptos_i18n_macro/src/utils/formatter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ impl Formatter {
quote!(core::fmt::Display::fmt(#key, __formatter))
}
Formatter::Number(grouping_strategy) => {
quote!(l_i18n_crate::__private::format_number_to_formatter(__formatter, *#locale_field, core::clone::Clone::clone(#key)), #grouping_strategy)
quote!(l_i18n_crate::__private::format_number_to_formatter(__formatter, *#locale_field, core::clone::Clone::clone(#key), #grouping_strategy))
}
Formatter::Date(length) => {
quote!(l_i18n_crate::__private::format_date_to_formatter(__formatter, *#locale_field, #key, #length))
Expand Down

0 comments on commit b223c2f

Please sign in to comment.