about summary refs log tree commit diff
path: root/library/core/src/ptr
AgeCommit message (Expand)AuthorLines
2024-02-19Convert debug_assert_nounwind to intrinsics::debug_assertionsBen Kimock-0/+1
2024-02-15Replace `NonZero::<_>::new` with `NonZero::new`.Markus Reiter-2/+2
2024-02-15Use generic `NonZero` internally.Markus Reiter-4/+4
2024-02-11Rollup merge of #120888 - saethlin:unsafe-precondition-cleanup, r=RalfJungMatthias Krüger-2/+2
2024-02-11Rollup merge of #120880 - RalfJung:vtable-fnptr-partialeq, r=cuviperMatthias Krüger-0/+5
2024-02-11Cleanup around the new assert_unsafe_preconditionBen Kimock-2/+2
2024-02-11Rollup merge of #119449 - Nilstrieb:library-clippy, r=cuviperMatthias Krüger-0/+2
2024-02-10add note on comparing vtables / function pointersRalf Jung-0/+5
2024-02-08Add and use Unique::as_non_null_ptrBen Kimock-4/+9
2024-02-08Reduce use of NonNull::new_unchecked in library/Ben Kimock-7/+5
2024-02-08Rewrite assert_unsafe_precondition around the new intrinsicBen Kimock-15/+43
2024-02-05revert stabilization of const_intrinsic_copyRalf Jung-8/+11
2024-02-03Docs for std::ptr::slice_from_raw_partsKornel-2/+26
2024-01-29raw pointer metadata API: data address -> data pointerRalf Jung-14/+14
2024-01-25Fix links to [strict|exposed] provenance sections of `[std|core]::ptr`Frank Steffahn-8/+8
2024-01-21Fix `clippy::correctness` in the libraryNilstrieb-0/+2
2023-12-22update cfg(bootstrap)sPietro Albini-14/+14
2023-12-22update version placeholdersPietro Albini-5/+5
2023-12-15Stabilize `ptr::{from_ref, from_mut}`Maybe Waffle-2/+5
2023-12-11Auto merge of #117758 - Urgau:lint_pointer_trait_comparisons, r=davidtwcobors-0/+14
2023-12-10remove redundant importssurechen-7/+5
2023-12-06Allow ambiguous_wide_pointer_comparisons lint for std methodsUrgau-0/+14
2023-12-03move calling miri_promise_symbolic_alignment to a shared helperRalf Jung-42/+5
2023-12-03miri: support 'promising' alignment for symbolic alignment checkRalf Jung-6/+58
2023-12-01update addr docsRalf Jung-8/+8
2023-11-30move exposed-provenance APIs into separate feature gate and explain the relat...Ralf Jung-48/+62
2023-11-29Rollup merge of #118231 - RalfJung:const-raw-slice-empty, r=cuviperMatthias Krüger-3/+21
2023-11-26Add `is_aligned{,_to}` convenience methods to `NonNull`Maybe Waffle-0/+234
2023-11-26Add `align_offset` convenience method to `NonNull`Maybe Waffle-0/+60
2023-11-26Add `replace` and `swap` convenience methods to `NonNull`Maybe Waffle-0/+35
2023-11-26Add `offset_from`-ish convenience methods to `NonNull`Maybe Waffle-11/+209
2023-11-26Add offset-ish convenience methods to `NonNull`Maybe Waffle-0/+273
2023-11-26Add read/write/copy convenience methods to `NonNull`Maybe Waffle-14/+223
2023-11-26Auto merge of #110303 - nbdd0121:master, r=Mark-Simulacrumbors-8/+4
2023-11-25Convert many `assert_unsafe_precondition` to `debug_assert_nounwind`Gary Guo-8/+4
2023-11-25Rollup merge of #117968 - Urgau:stabilize-ptr-addr-eq, r=dtolnayMichael Goulet-4/+5
2023-11-24also add is_empty to const raw slicesRalf Jung-3/+21
2023-11-18impl more traits for ptr::Alignment, add mask methodltdk-1/+44
2023-11-16Stabilize ptr_addr_eq library featureUrgau-4/+5
2023-11-15Substitute version placeholdersMark Rousskov-28/+28
2023-11-11Auto merge of #115694 - clarfonthey:std-hash-private, r=dtolnaybors-2/+1
2023-11-10Auto merge of #117572 - RalfJung:addr_of, r=cuviperbors-6/+24
2023-11-10mention null explicitlyRalf Jung-2/+2
2023-11-06Auto merge of #116988 - RalfJung:null, r=WaffleLapkinbors-0/+10
2023-11-05update and clarify addr_of docsRalf Jung-6/+24
2023-11-02Add insta-stable std::hash::{DefaultHasher, RandomState} exportsltdk-2/+1
2023-10-25Stabilize `[const_]pointer_byte_offsets`Maybe Waffle-32/+42
2023-10-20document that the null pointer has the 0 addressRalf Jung-0/+10
2023-10-15Remove trivial cast in `guaranteed_eq`Nilstrieb-1/+1
2023-10-14Auto merge of #116407 - Mark-Simulacrum:bootstrap-bump, r=onur-ozkanbors-4/+4