-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
doc: make the conditional-compilation example work #34610
Conversation
If not, the error `does not have these features: foo` confused. r? @steveklabnik
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @steveklabnik (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
@@ -41,8 +41,12 @@ they get set in the [`[features]` section][features] of your `Cargo.toml`: | |||
# no features by default | |||
default = [] | |||
|
|||
# Add feature "foo" here, then you can use it. | |||
# Our "foo" feature depends on nothings else. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you change this to "nothing" rather than "nothings" please?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK~My english is poor.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No worries! 😄 I'm a native speaker and mine is often terrible.
Thanks @wuranbo ! Just a few nits. |
@bors: r+ rollup thank you! |
📌 Commit d30662f has been approved by |
doc: make the conditional-compilation example work If not, the error `does not have these features: foo` confused. r? @steveklabnik
doc: make the conditional-compilation example work If not, the error `does not have these features: foo` confused. r? @steveklabnik
If not, the error
does not have these features: foo
confused.r? @steveklabnik