Skip to content

Pull out some duplicated code into a new function #74737

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
Jul 27, 2020
Merged

Pull out some duplicated code into a new function #74737

merged 2 commits into from
Jul 27, 2020

Conversation

smmalis37
Copy link
Contributor

@smmalis37 smmalis37 commented Jul 25, 2020

I debated pulling the actual struct_span_err calls into the new method, but I felt like having to pass in multiple arguments for it and wiring up string formatting outweighed the benefits.

Viewing the diff with whitespace ignored is recommended.

@smmalis37
Copy link
Contributor Author

Uhhh...@rust-highfive? You ok buddy?

@smmalis37
Copy link
Contributor Author

Well if the bot's not gonna do it...

r? @davidtwco I guess?

@smmalis37
Copy link
Contributor Author

@rustbot modify labels: S-waiting-on-review

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 26, 2020
Copy link
Member

@davidtwco davidtwco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@davidtwco
Copy link
Member

@bors r+

@bors
Copy link
Collaborator

bors commented Jul 26, 2020

📌 Commit 617dd0a has been approved by davidtwco

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 26, 2020
Manishearth added a commit to Manishearth/rust that referenced this pull request Jul 27, 2020
Pull out some duplicated code into a new function

I debated pulling the actual struct_span_err calls into the new method, but I felt like having to pass in multiple arguments for it and wiring up string formatting outweighed the benefits.

Viewing the diff with whitespace ignored is recommended.
@bors
Copy link
Collaborator

bors commented Jul 27, 2020

⌛ Testing commit 617dd0a with merge 9af6b3d...

@bors
Copy link
Collaborator

bors commented Jul 27, 2020

☀️ Test successful - checks-actions, checks-azure
Approved by: davidtwco
Pushing 9af6b3d to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Jul 27, 2020
@bors bors merged commit 9af6b3d into rust-lang:master Jul 27, 2020
@smmalis37 smmalis37 deleted the astconv-factor branch July 28, 2020 04:50
@cuviper cuviper added this to the 1.47.0 milestone May 2, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants