summary refs log tree commit diff
path: root/library/core/src/ptr/alignment.rs
AgeCommit message (Expand)AuthorLines
2024-03-08Distinguish between library and lang UB in assert_unsafe_preconditionBen Kimock-3/+6
2024-03-07Rust is a proper name: rust → RustRalf Jung-1/+1
2024-02-29Add proper cfgr0cky-9/+5
2024-02-22Use generic `NonZero` everywhere in `core`.Markus Reiter-8/+8
2024-02-19Convert debug_assert_nounwind to intrinsics::debug_assertionsBen Kimock-0/+1
2024-02-15Replace `NonZero::<_>::new` with `NonZero::new`.Markus Reiter-1/+1
2024-02-15Use generic `NonZero` internally.Markus Reiter-2/+2
2023-11-25Convert many `assert_unsafe_precondition` to `debug_assert_nounwind`Gary Guo-8/+4
2023-11-18impl more traits for ptr::Alignment, add mask methodltdk-1/+44
2023-04-16rm const traits in libcoreDeadbeef-10/+6
2023-03-03Match unmatched backticks in library/est31-1/+1
2022-12-28Update bootstrap cfgPietro Albini-8/+4
2022-11-20Fix issue numberRune Tynan-1/+1
2022-11-20Update with derive_constRune Tynan-12/+11
2022-11-20Add stability for alignmentRune Tynan-0/+2
2022-11-20constify remaining layout methodsRune Tynan-5/+14
2022-10-26Print the precondition we violated, and visible through output captureBen Kimock-1/+6
2022-10-16Fix types in documentation for Alignment::as_usize and Alignmnet::as_nonzeroThayne McCombs-2/+2
2022-10-09From<Alignment> for usize & NonZeroUsizeScott McMurray-0/+16
2022-09-22Derive Eq/PartialEq instead of manually implementing itScott McMurray-15/+23
2022-09-21Add `rustc_allow_const_fn_unstable` annotations to pre-existing `Layout` methodsScott McMurray-1/+3
2022-09-20Add `ptr::Alignment` typeScott McMurray-0/+295