Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add with_fset fns to datetime types #5942

Merged
merged 4 commits into from
Dec 21, 2024
Merged

Conversation

sffc
Copy link
Member

@sffc sffc commented Dec 20, 2024

Part of #5940

@sffc sffc changed the title Names storage refactor Add with_fset fns to datetime types Dec 20, 2024
@sffc sffc marked this pull request as ready for review December 20, 2024 22:51
@sffc sffc removed the request for review from zbraniecki December 20, 2024 22:51
Manishearth
Manishearth previously approved these changes Dec 20, 2024

/// A trait for a [`DateTimeNamesMarker`] that can be created from a more specific one, `M`.
///
/// This trait is blanket-implemented on all field sets that are more general than `M`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: link to the fieldset module

@@ -93,8 +95,30 @@ icu::datetime::Length::into_option#FnInEnum
icu::datetime::MismatchedCalendarError#Struct
icu::datetime::TimeFormatter#Typedef
icu::datetime::fieldsets::Combo#Struct
icu::datetime::fieldsets::Combo::map_day_period_names#FnInStruct
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: add DateTimeNamesFrom to the allowlisted traits

@sffc sffc merged commit 8c064d0 into unicode-org:main Dec 21, 2024
28 checks passed
@sffc sffc deleted the names-storage-refactor branch December 21, 2024 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants