Skip to content

Commit

Permalink
Comments fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sffc committed Oct 26, 2023
1 parent 579ba16 commit c310762
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions components/datetime/src/format/neo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ pub struct DateTimePatternInterpolator<C: CldrCalendar> {
// TODO: Make the FixedDecimalFormatter optional?
fixed_decimal_formatter: FixedDecimalFormatter,
week_calculator: Option<WeekCalculator>,
// To add later:
// ordinal_rules: Option<PluralRules>,
}

impl<C: CldrCalendar> DateTimePatternInterpolator<C> {
Expand Down Expand Up @@ -138,9 +140,6 @@ pub struct FormattedDateTimePattern<'l> {
pattern: &'l Pattern<'l>,
datetime: ExtractedDateTimeInput,
interpolator: ErasedDateTimePatternInterpolatorBorrowed<'l>,
// To add later:
// week_data: Option<&'l WeekCalculator>,
// ordinal_rules: Option<&'l PluralRules>,
}

impl<'l> Writeable for FormattedDateTimePattern<'l> {
Expand Down

0 comments on commit c310762

Please sign in to comment.