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

place: Passing align = layout.align.abi, when also passing layout #64003

Merged
merged 2 commits into from
Sep 5, 2019

Commits on Aug 29, 2019

  1. new_thin_place is only used with align = layout.align.abi

    and is not `pub`.
    Dante-Broggi committed Aug 29, 2019
    Configuration menu
    Copy the full SHA
    0cc1c8d View commit details
    Browse the repository at this point in the history
  2. new_sized is mostly used without align

    so rename it `new_sized_aligned`.
    6/11 use `align` = `layout.align.abi`.
    `from_const_alloc` uses `alloc.align`, but that is `assert_eq!` to `layout.align.abi`.
    only 4/11 use something interesting for `align`.
    Dante-Broggi committed Aug 29, 2019
    Configuration menu
    Copy the full SHA
    8657fb1 View commit details
    Browse the repository at this point in the history