Skip to content

document prefixing _ to names to suppress unused variable name warnings #3536

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
erickt opened this issue Sep 19, 2012 · 1 comment
Closed

Comments

@erickt
Copy link
Contributor

erickt commented Sep 19, 2012

The tutorial should mention that prefixing "_" to a variable name suppresses rustc from emitting unused variable warnings.

@brson
Copy link
Contributor

brson commented Oct 5, 2012

Done.

@brson brson closed this as completed Oct 5, 2012
bors pushed a commit to rust-lang-ci/rust that referenced this issue May 15, 2021
* Implement Serialize on IgnoreList

* Add a test for rust-lang#3536
RalfJung pushed a commit to RalfJung/rust that referenced this issue May 4, 2024
Add rustbot claim feature

Add rustbot ``claim``, ``release-assignment`` and ``assign-user`` as mentioned in rust-lang#3528.

rustbot issue assignment documentation: https://forge.rust-lang.org/triagebot/issue-assignment.html
pr trigger option documentation: https://forge.rust-lang.org/triagebot/pr-assignment.html#additional-new-pr-trigger-options
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants