-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Remove get method from InternedString #21505
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
Conversation
r? @sfackler (rust_highfive has picked a reviewer for you, use r? to override) |
No feedback ? |
Thanks! The |
Okay ! Then do I just remove the Str trait and the get method ? |
Yeah that should work just fine. |
@bors: r+ 4e53266 Feel free to ping the PR when it gets updated, sadly github doesn't send out notifications on a force push! |
My bad, I didn't think about that ! Thanks ! |
⌛ Testing commit 4e53266 with merge 4f559b0... |
💔 Test failed - auto-mac-64-opt |
@alexcrichton: it should be ready now ! |
Thanks! In general though you should never need to call |
I found this writing: foo.deref() beautifuler than this one: &*foo But I can change it if you prefer ! At least I'll rebase on the master to solve merge conflicts. |
I think that deref coercions may be in a snapshot now so instead of |
@alexcrichton: It's (finally) ready to be merged ! |
@bors: r+ d6bfb9a |
⌛ Testing commit d6bfb9a with merge 4495d7d... |
💔 Test failed - auto-linux-64-x-android-t |
@bors: retry |
⌛ Testing commit d6bfb9a with merge 2ba5a04... |
💔 Test failed - auto-mac-64-nopt-t |
@GuillaumeGomez the most recent failure is the more relevant one. Also, in light of #21916 you may want to replace as many |
@alexcrichton: Ok ! Just like you said. I update my code and let's try again ! |
Tests worked. @alexcrichton, r+ please ? |
@GuillaumeGomez could you squash some of these commits together as well? Mainly just the "fix foo" commits which don't necessarily need to exist. |
Fixes run build error Fix test failure Fix tests' errors
Done ! |
⌛ Testing commit a2e01c6 with merge bfe1453... |
💔 Test failed - auto-linux-32-opt |
@bors: retry |
It's in order to make the code more homogeneous.
It's in order to make the code more homogeneous.