Uh oh!
There was an error while loading. Please reload this page.
Remove need for &format!(...) or &&"" dances in span_label calls - #41745
Merged
Conversation
oli-obk
commented
May 4, 2017
ContributorAuthor
sophiajt
commented
May 7, 2017
Contributor
Thanks! I always had a mental note to do that but then forgot. |
sophiajt
commented
May 7, 2017
Contributor
@bors r+ |
bors
commented
May 7, 2017
Collaborator
📌 Commit b18117a has been approved by |
bors
commented
May 7, 2017
Collaborator
⌛ Testing commit b18117a with merge 0c85b2b... |
bors
commented
May 7, 2017
Collaborator
💔 Test failed - status-travis |
sophiajt
commented
May 7, 2017
Contributor
Looking at Travis, seems like a few places might have been missed: |
oli-obk
commented
May 8, 2017
ContributorAuthor
Nothing missed. It just bitrots very fast since it touches every single span_labelb. Will fix later |
GuillaumeGomez
commented
May 8, 2017
Member
Well, since @jonathandturner already r+ed and you didn't change much, I'll just r+ as well. @bors: r=jonathandturner |
bors
commented
May 8, 2017
Collaborator
📌 Commit dd87eab has been approved by |
bors
commented
May 8, 2017
Collaborator
bors added a commit
that referenced
this pull request
May 8, 2017
Remove need for &format!(...) or &&"" dances in `span_label` calls These were always a thorn in my eye. Note that this will monomorphize to two impls, one for `String` and one for `&str`. But I think that cost is worth the ergonomics at the call sites that can be seen throughout this PR.
bors
commented
May 8, 2017
Collaborator
☀️ Test successful - status-appveyor, status-travis |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These were always a thorn in my eye. Note that this will monomorphize to two impls, one for
Stringand one for&str. But I think that cost is worth the ergonomics at the call sites that can be seen throughout this PR.