Skip to content
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

Clarify version gate used for #3229 #3258

Merged
merged 2 commits into from
Dec 20, 2018
Merged

Conversation

scampi
Copy link
Contributor

@scampi scampi commented Dec 19, 2018

Related to #3229

In response to #2877 (comment), this PR is to make the version-gate a bit more clear, although I got a E0317 compile error on what I proposed (which is nice!).
Although the change is a bit verbose for what it does, I think it makes the future gate-cleaning easier: just keep what is in the else block. @topecongiro Up to you if it's better ;o)

I also profited and added a section to the contributing file about version-gates.

@topecongiro
Copy link
Contributor

Looks good. Thank you for adding the documentation as well!

@topecongiro topecongiro merged commit a1ee7e9 into rust-lang:master Dec 20, 2018
@scampi scampi deleted the version-gate branch December 20, 2018 08:41
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