Skip to content

Simplify inner_try in std::rt::unwind::try #28584

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

Merged
merged 1 commit into from
Sep 22, 2015

Conversation

ranma42
Copy link
Contributor

@ranma42 ranma42 commented Sep 22, 2015

This simplifies a little inner_try and avoids multiple accesses to TLS.

Resolve the TLS PANICKING variable just once and re-use it as needed.
@rust-highfive
Copy link
Contributor

r? @nikomatsakis

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton
Copy link
Member

@bors: r+ cf10296

bors added a commit that referenced this pull request Sep 22, 2015
This simplifies a little inner_try and avoids multiple accesses to TLS.
@bors
Copy link
Collaborator

bors commented Sep 22, 2015

⌛ Testing commit cf10296 with merge 2a6f6f2...

@bors bors merged commit cf10296 into rust-lang:master Sep 22, 2015
@ranma42 ranma42 deleted the simpler-innertry branch September 23, 2015 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants