-
Notifications
You must be signed in to change notification settings - Fork 185
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
Discuss: Should LocalePreferences have public fields #5785
Comments
Duplicate of #5786 |
Actually let's keep this issue open so we have one discussion per thread. |
So the main problem here is that DataLocale lives in Can we just move DataLocale into My personal opinion is that I think it is silly and over-designed to try and keep the types exported from core crates as minimal as possible and put specialized types into other crates. I prefer "useful" core crates: ones that export types that its dependents need. |
Conclusion:
|
This means that every consumer of from_preferences_locale needs to import this free function. Should it be in the prelude instead? |
I was thinking the fn would be invoked as If it's in the prelude, it needs a more specific name. Maybe something like |
Given that most users need it i think it goes in the prelude then. Or should be a trait method on DataMarker. |
DataLocale's private fields issue split out to #5989 |
Originally posted by @sffc in #5729 (comment)
The text was updated successfully, but these errors were encountered: