Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
robertbastian committed Jun 6, 2023
1 parent 9e3612a commit 60191cf
Show file tree
Hide file tree
Showing 4 changed files with 416 additions and 208 deletions.
6 changes: 4 additions & 2 deletions components/plurals/data/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ mod macros {
pub use __impl_plurals_cardinal_v1 as impl_plurals_cardinal_v1;
#[doc(inline)]
pub use __impl_plurals_ordinal_v1 as impl_plurals_ordinal_v1;
use __lookup_plurals_cardinal_v1 as lookup_plurals_cardinal_v1;
use __lookup_plurals_ordinal_v1 as lookup_plurals_ordinal_v1;
#[doc(hidden)]
pub use __lookup_plurals_cardinal_v1 as lookup_plurals_cardinal_v1;
#[doc(hidden)]
pub use __lookup_plurals_ordinal_v1 as lookup_plurals_ordinal_v1;
/// Implement [`DataProvider<M>`](icu_provider::DataProvider) on the given struct using the data
/// hardcoded in this file. This allows the struct to be used with
/// `icu`'s `_unstable` constructors.
Expand Down
3 changes: 2 additions & 1 deletion components/timezone/data/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ mod macros {
}
#[doc(inline)]
pub use __impl_time_zone_metazone_period_v1 as impl_time_zone_metazone_period_v1;
use __lookup_time_zone_metazone_period_v1 as lookup_time_zone_metazone_period_v1;
#[doc(hidden)]
pub use __lookup_time_zone_metazone_period_v1 as lookup_time_zone_metazone_period_v1;
#[doc(inline)]
pub use __singleton_time_zone_metazone_period_v1 as singleton_time_zone_metazone_period_v1;
/// Implement [`DataProvider<M>`](icu_provider::DataProvider) on the given struct using the data
Expand Down
3 changes: 2 additions & 1 deletion provider/datagen/src/baked_exporter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,8 @@ impl DataExporter for BakedExporter {
.parse::<TokenStream>()
.unwrap();
lookup_macro_reexports.push(quote! {
use #prefixed_lookup_macro_ident as #lookup_macro_ident;
#[doc(hidden)]
pub use #prefixed_lookup_macro_ident as #lookup_macro_ident;
});

if let Some((singleton_ident, prefixed_singleton_ident)) = &datum.singleton_macro_ident
Expand Down
Loading

0 comments on commit 60191cf

Please sign in to comment.