Skip to content

Commit

Permalink
default
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Nov 13, 2024
1 parent 05e4a2a commit 194e5b3
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions components/decimal/src/provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
}
}
}

0 comments on commit 194e5b3

Please sign in to comment.