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

use the type's alignment for generated memsets #6794

Closed
wants to merge 1 commit into from
Closed

use the type's alignment for generated memsets #6794

wants to merge 1 commit into from

Conversation

thestinger
Copy link
Contributor

This is unlikely to alter optimized codegen much but there's no point in downgrading the known alignment to 1.

bors added a commit that referenced this pull request May 29, 2013
This is unlikely to alter optimized codegen much but there's no point in downgrading the known alignment to 1.
@bors bors closed this May 29, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Mar 11, 2021
…ip1995

Improve needless_borrowed_ref docs

changelog: none

I think "borrowed ref" is a confusing description for this lint. Destructuring a reference is the opposite of borrowing. So I updated the wording throughout the docs. Unfortunately this nit applies to the name of the lint itself, but I won't bother changing that. One motivation for these changes is to clarify the difference between this lint and `needless_borrow` (they are actually quite different). Let me know if I need to clarify anything or if you disagree with any changes.
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