-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Move Duration
type to libcore
#46520
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
Comments
I thought that all types in libstd were there for a reason, is there a historical reason that this was left in? Should we audit libstd for other types that don't need to be there? |
@bstrie everything in I do think that |
AFAIK it's only in std because the rest of the time module was defined there, and |
I think a PR for this would be reasonable. Marking as feature-accepted. |
Right now there isn't anything that requires keeping this type in libstd, and it may be useful for libraries that work with time in a
no_std
context. It makes sense to move this type to libcore.The text was updated successfully, but these errors were encountered: