Skip to content

use the type's alignment for generated memsets - #6794

Closed
thestinger wants to merge 1 commit into
rust-lang:incomingfrom
thestinger:align_zero
Closed

use the type's alignment for generated memsets#6794
thestinger wants to merge 1 commit into
rust-lang:incomingfrom
thestinger:align_zero

Conversation

@thestinger

Copy link
Copy Markdown
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