-
Notifications
You must be signed in to change notification settings - Fork 13.3k
cleanup: replace as[_mut]_slice()
calls with deref coercions/slicing syntax
#21916
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
@bors: try 82e4655 |
⌛ Testing commit 82e4655 with merge d58e26c... |
In some cases |
FYI &expr[] will be deprecated soon, after |
@gkoz you can't use deref coercions everywhere, one example is passing @bluss I have used deref coercions wherever it was possible, and used slicing syntax where it was not. I can change the Alternatively, I could change the |
I'd be fine switching to |
Ah also, basically r=me when tests are passing, this is one beautiful patch :) |
@japaric maybe type ascription will solve that problem - seeing a type, even something "skeletal" like |
9ceacd8
to
0504f24
Compare
@bors: r=alexcrichton 0504f24 |
@bors: @alexcrichton 116edc1 |
@bors: r=alexcrichton 116edc1 |
⌛ Testing commit 116edc1 with merge 9b068ce... |
💔 Test failed - auto-mac-32-opt |
@bors: r=alexcrichton a7ccda8 |
⌛ Testing commit a7ccda8 with merge 0512ff1... |
💔 Test failed - auto-win-32-opt |
@bors: r=alexcrichton bfef86a |
⌛ Testing commit bfef86a with merge 4f35ec7... |
💔 Test failed - auto-linux-64-x-android-t |
💔 Test failed - auto-mac-64-nopt-t |
@bors: r=alexcrichton 82c5668 |
r? @alexcrichton
cc @eddyb