Skip to content

Conversation

davidalber
Copy link
Contributor

This PR fixes a mistake in a condition that was added in #2409.

Current: the condition has two, identical clauses.

New: the condition has a guard clause for each value unwrapped inside the if block.

@scampi scampi merged commit 467c53f into rust-lang:master May 6, 2019
@scampi
Copy link
Contributor

scampi commented May 6, 2019

Thanks for the fix!

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.

2 participants