From 194e5b3ae1877dc88661e6384b0ebf02ebdc6776 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Wed, 13 Nov 2024 09:45:05 -0800 Subject: [PATCH] default --- components/decimal/src/provider.rs | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/components/decimal/src/provider.rs b/components/decimal/src/provider.rs index ffc928bddae..c2b47be71a0 100644 --- a/components/decimal/src/provider.rs +++ b/components/decimal/src/provider.rs @@ -188,25 +188,3 @@ impl<'data> DecimalSymbolsV1<'data> { &self.strings.grouping_separator() } } - -impl Default for DecimalSymbolsV1<'static> { - fn default() -> Self { - let strings = DecimalSymbolsV1Strings { - minus_sign_prefix: Cow::Borrowed("-"), - minus_sign_suffix: Cow::Borrowed(""), - plus_sign_prefix: Cow::Borrowed("+"), - plus_sign_suffix: Cow::Borrowed(""), - decimal_separator: ".".into(), - grouping_separator: ",".into(), - }; - Self { - strings: VarZeroCow::from_encodeable(&strings), - grouping_sizes: GroupingSizesV1 { - primary: 3, - secondary: 3, - min_grouping: 1, - }, - digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], - } - } -}