-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Moved Ascii
to core
and collection
#16355
Conversation
Not sure why the build failed, but it doesn't seem related to this change, and |
LGTM, r=me once others have had time to voice any potential disagreement. |
@alexcrichton @aturon do you have opinions about this? It seems like a move in the right direction, but I know the |
I personally don't believe that all candidate modules for libcore should necessarily move to libcore. For example In general I feel that That being said, the public API is entirely the same, so with the facade we're entirely at liberty to make any decision at any time and revert it at any time in the future! |
@alexcrichton I agree that not everything that technically can go in libcore should. |
Right, my feeling is if In fact part of the motivation of this PR was that I was writing code in Whether the casting traits associated with |
+1 move |
I am somewhat torn about this. I think we should probably work on some explicit criteria for what goes in libcore. At the moment, the contents fall into roughly the following categories:
There are a few other things, like Personally, I don't buy the argument that because Given that So I guess in the end, I'd rather not make this promotion. I'm happy to have this functionality live only in libstd. |
@aturon ASCII is a rather fundamental way of working with strings. It seems unfortunate to require However, I am sympathetic to the idea that
If the answer to either of those questions is "yes", then perhaps we should have a Otherwise, if |
Closing per @aturon's stated reasons, with which I agree. |
No description provided.