-
Notifications
You must be signed in to change notification settings - Fork 165
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
Baked data for icu_segmenter
#3570
Conversation
+ ?Sized, | ||
{ | ||
Self::try_new_auto_with_options_unstable(provider, Default::default()) | ||
pub fn new_auto() -> Self { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question: why aren't you auto-generating the impls for the globaldata constructors in this crate?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Auto generated constructors will go through DataProvider::load
and be fallible. This uses singletons and is infallible.
1d41bba
to
d915061
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We really need to make sure all the constructors are covered, especially when we don't auto-generate them with the macro. A general problem not specific to this PR
#2945