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

Expand and clarify primitive alignment #1493

Merged
merged 1 commit into from
Apr 20, 2024
Merged

Commits on Apr 16, 2024

  1. Expand and clarify primitive alignment

    These changes are intended to make the section more informative and readable, without making any new normative claims.
    
    * Specify that the alignment might be _less_ than the size, rather than just that it might be different. This is mandatory and stated in the previous section, but I think it's useful to reiterate here.
    * Mention `u128`/`i128` as another example of alignment less than size, so that this doesn't sound like a mainly 32-bit thing.
    * Add `usize`/`isize` to the size table, so it can be spotted at a glance.
    kpreid authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    a432cf4 View commit details
    Browse the repository at this point in the history