diff --git a/components/experimental/src/measure/provider/trie.rs b/components/experimental/src/measure/provider/trie.rs index f458bddf29d..4a834e5b3e1 100644 --- a/components/experimental/src/measure/provider/trie.rs +++ b/components/experimental/src/measure/provider/trie.rs @@ -36,7 +36,6 @@ pub use crate::provider::Baked; #[cfg_attr(feature = "datagen", databake(path = icu_experimental::measure::provider::trie))] #[cfg_attr(feature = "serde", derive(serde::Deserialize))] pub struct UnitsTrieV1<'data> { - // TODO: remove this field from units/provider::UnitsInfoV1 once the `MeasureUnit` is fully used in the measurement units. /// Maps from unit name (e.g. foot or meter) to its unit id. this id can be used to retrieve the conversion information from the `UnitsInfoV1`. #[cfg_attr(feature = "serde", serde(borrow))] pub trie: ZeroTrieSimpleAscii>, diff --git a/components/experimental/src/units/provider.rs b/components/experimental/src/units/provider.rs index 2d5f87a9e81..5eee5982fe9 100644 --- a/components/experimental/src/units/provider.rs +++ b/components/experimental/src/units/provider.rs @@ -40,11 +40,6 @@ use super::ratio::IcuRatio; #[cfg_attr(feature = "datagen", databake(path = icu_experimental::units::provider))] #[cfg_attr(feature = "serde", derive(serde::Deserialize))] pub struct UnitsInfoV1<'data> { - // TODO: remove this field once we are using this map from `measure/provider::UnitsTrie`. - /// Maps from unit name (e.g. foot) to it is conversion information. - #[cfg_attr(feature = "serde", serde(borrow))] - pub units_conversion_trie: ZeroTrieSimpleAscii>, - /// Contains the conversion information, such as the conversion rate and the base unit. /// For example, the conversion information for the unit `foot` is `1 foot = 0.3048 meter`. #[cfg_attr(feature = "serde", serde(borrow))]