about summary refs log tree commit diff
path: root/library/core/src/ptr
AgeCommit message (Expand)AuthorLines
2022-11-19mark `align_offset` as `#[must_use]`Lukas Markeffsky-0/+2
2022-11-19constify `pointer::is_aligned{,_to}`Lukas Markeffsky-12/+38
2022-11-19make const `align_offset` usefulLukas Markeffsky-5/+46
2022-11-18Rollup merge of #103701 - WaffleLapkin:__points-at-implementation__--this-can...Manish Goregaokar-45/+20
2022-11-18Rollup merge of #103378 - nagisa:fix-infinite-offset, r=scottmcmManish Goregaokar-26/+28
2022-11-16Rollup merge of #103489 - WaffleLapkin:byte_offset_from_you, r=scottmcmMatthias Krüger-2/+2
2022-11-15Auto merge of #104054 - RalfJung:byte-provenance, r=oli-obkbors-14/+8
2022-11-15Rollup merge of #104339 - compiler-errors:rustc_deny_explicit_impl, r=cjgillotMatthias Krüger-0/+1
2022-11-14Add rustc_deny_explicit_implMichael Goulet-0/+1
2022-11-14Auto merge of #103858 - Mark-Simulacrum:bump-bootstrap, r=pietroalbinibors-1/+0
2022-11-13Rollup merge of #103996 - SUPERCILEX:docs, r=RalfJungMatthias Krüger-2/+2
2022-11-09Rollup merge of #103694 - WaffleLapkin:mask_doc_example, r=scottmcmDylan DPC-0/+53
2022-11-07Lift `T: Sized` bounds from some `strict_provenance` `NonNull` methodsMaybe Waffle-12/+3
2022-11-06cfg-step codeMark Rousskov-1/+0
2022-11-06Add small clarification around using pointers derived from referencesAlex Saveau-2/+2
2022-11-06remove no-longer-needed work-arounds from the standard libraryRalf Jung-14/+8
2022-10-28Lift `T: Sized` bounds from some `strict_provenance` pointer methodsMaybe Waffle-36/+12
2022-10-28Simplify implementation of various pointer methodsMaybe Waffle-25/+14
2022-10-28Make `pointer::with_metadata_of` const (+simplify implementation)Maybe Waffle-20/+6
2022-10-28Add examples for `pointer::mask`Maybe Waffle-0/+53
2022-10-27Rollup merge of #103106 - saethlin:from_exposed_docs, r=thomccMatthias Krüger-6/+15
2022-10-27Rollup merge of #103035 - saethlin:assert_unsafe_precondition3, r=thomccMatthias Krüger-9/+35
2022-10-26Print the precondition we violated, and visible through output captureBen Kimock-9/+35
2022-10-27Rollup merge of #103580 - lukas-code:guaranteed_ne, r=GuillaumeGomezYuki Okushi-2/+2
2022-10-26Fix typo in docs for `guaranteed_ne`Lukas Markeffsky-2/+2
2022-10-26Update library/core/src/ptr/mod.rsBen Kimock-0/+1
2022-10-26explicitly mention that both components of wide prts are comparedRalf Jung-0/+1
2022-10-26ptr::eq: clarify that comparing dyn Trait is fragileRalf Jung-35/+5
2022-10-25Try to say that memory outside the AM is always exposedBen Kimock-6/+14
2022-10-24Make `pointer::byte_offset_from` more genericMaybe Waffle-2/+2
2022-10-24Auto merge of #100848 - xfix:use-metadata-for-slice-len, r=thomccbors-8/+7
2022-10-22Rollup merge of #103346 - HeroicKatora:metadata_of_const_pointer_argument, r=...Dylan DPC-1/+5
2022-10-22Rollup merge of #103329 - saethlin:nonnull-precondition, r=thomccDylan DPC-1/+5
2022-10-22Fix mod_inv termination for the last iterationSimonas Kazlauskas-26/+28
2022-10-21Argument type for mutable with_metadata_of (#75091)Andreas Molzer-1/+5
2022-10-20Add a missing precondition checkBen Kimock-1/+5
2022-10-20Skip C-unwind fn pointer impls with the bootstrap compilerRyan Lopopolo-0/+1
2022-10-19Update stability annotations on fnptr impls for C-unwind ABIRyan Lopopolo-13/+19
2022-10-19Add default trait implementations for "c-unwind" ABI function pointersRyan Lopopolo-0/+6
2022-10-16Fix types in documentation for Alignment::as_usize and Alignmnet::as_nonzeroThayne McCombs-2/+2
2022-10-14more dupe word typosRageking8-2/+2
2022-10-09From<Alignment> for usize & NonZeroUsizeScott McMurray-0/+16
2022-10-10Rollup merge of #102072 - scottmcm:ptr-alignment-type, r=thomccYuki Okushi-0/+309
2022-10-07add a few more assert_unsafe_preconditionRalf Jung-0/+2
2022-09-29Stabilize `nonnull_slice_from_raw_parts`Yuki Okushi-8/+5
2022-09-26remove cfg(bootstrap)Pietro Albini-2/+0
2022-09-26replace stabilization placeholdersPietro Albini-4/+4
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/+299