Skip to content

Commit

Permalink
Add attributes_domain to DecimalDigitsV1 (#5962)
Browse files Browse the repository at this point in the history
Fixes #5824



<!--
Thank you for your pull request to ICU4X!

Reminder: try to use [Conventional
Comments](https://conventionalcomments.org/) to make comments clearer.

Please see
https://github.com/unicode-org/icu4x/blob/main/CONTRIBUTING.md for
general
information on contributing to ICU4X.
-->
  • Loading branch information
Manishearth authored Jan 9, 2025
1 parent 617eb42 commit ab5fab7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/decimal/src/provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,11 @@ pub struct DecimalSymbolsV2<'data> {
/// including in SemVer minor releases. While the serde representation of data structs is guaranteed
/// to be stable, their Rust representation might not be. Use with caution.
/// </div>
#[icu_provider::data_struct(DecimalDigitsV1Marker = "decimal/digits@1")]
#[icu_provider::data_struct(marker(
DecimalDigitsV1Marker,
"decimal/digits@1",
attributes_domain = "numbering_system"
))]
#[derive(Debug, PartialEq, Clone, Copy)]
#[cfg_attr(feature = "serde", derive(serde::Deserialize))]
#[cfg_attr(feature = "datagen", derive(serde::Serialize, databake::Bake))]
Expand Down

0 comments on commit ab5fab7

Please sign in to comment.