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
Use cfg_if for a cleaner sourceset #147
Milestone
Comments
4 tasks
bors bot
added a commit
that referenced
this issue
Mar 14, 2018
167: Use cfg-if to create logical feature gate implementations r=Dylan-DPC a=kinggoesgaming <!-- As we are working towards a stable version of uuid, we require that you open an issue, before submitting a pull request. If the pull request is imcomplete, prepend the Title with WIP: --> **I'm submitting a ...** - [ ] bug fix - [ ] feature enhancement - [ ] deprecation or removal - [x] refactor # Description `uuid` now adds `cfg-if` as a dependency. With this, `#[cfg(..)]` implementations are easier to understand, as they can be handled in a more logical view because the macro allows us to `if` statements to make the checks more rustic at the source level # Motivation Understanding feature gate implementation becomes easier. # Tests The CI builds passing should be plenty. # Related Issue(s) #147
bors bot
added a commit
that referenced
this issue
Mar 14, 2018
167: Use cfg-if to create logical feature gate implementations r=kinggoesgaming a=kinggoesgaming <!-- As we are working towards a stable version of uuid, we require that you open an issue, before submitting a pull request. If the pull request is imcomplete, prepend the Title with WIP: --> **I'm submitting a ...** - [ ] bug fix - [ ] feature enhancement - [ ] deprecation or removal - [x] refactor # Description `uuid` now adds `cfg-if` as a dependency. With this, `#[cfg(..)]` implementations are easier to understand, as they can be handled in a more logical view because the macro allows us to `if` statements to make the checks more rustic at the source level # Motivation Understanding feature gate implementation becomes easier. # Tests The CI builds passing should be plenty. # Related Issue(s) #147
bors bot
added a commit
that referenced
this issue
Mar 14, 2018
167: Use cfg-if to create logical feature gate implementations r=kinggoesgaming a=kinggoesgaming <!-- As we are working towards a stable version of uuid, we require that you open an issue, before submitting a pull request. If the pull request is imcomplete, prepend the Title with WIP: --> **I'm submitting a ...** - [ ] bug fix - [ ] feature enhancement - [ ] deprecation or removal - [x] refactor # Description `uuid` now adds `cfg-if` as a dependency. With this, `#[cfg(..)]` implementations are easier to understand, as they can be handled in a more logical view because the macro allows us to `if` statements to make the checks more rustic at the source level # Motivation Understanding feature gate implementation becomes easier. # Tests The CI builds passing should be plenty. # Related Issue(s) #147
forgot to tag it in PR #167 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This should help in reading the sources a bit easier, as it helps in reading attributes in a more logical sense.
Reference: #124
The text was updated successfully, but these errors were encountered: