summary refs log tree commit diff
path: root/library/core/src/ptr
AgeCommit message (Expand)AuthorLines
2021-01-29rename raw_const/mut -> const/mut_addr_of, and stabilize themRalf Jung-10/+8
2021-01-23Rollup merge of #79841 - fintelia:patch-6, r=kennytmJonas Schievink-6/+13
2021-01-22More clear documentation for NonNull<T>Jonathan Behrens-6/+13
2021-01-19Rollup merge of #81168 - soniasingla:doc/sonia, r=jonas-schievinkGuillaume Gomez-2/+2
2021-01-18Fixes #81109 - Typo in pointer::wrapping_subsoniasingla-2/+2
2021-01-18remove some outdated comments regarding debug assertionsRalf Jung-3/+0
2021-01-02extend commentRalf Jung-1/+2
2020-12-30implement ptr::write without dedicated intrinsicRalf Jung-5/+11
2020-12-30Auto merge of #79684 - usbalbin:const_copy, r=oli-obkbors-6/+12
2020-12-26address review feedbackRalf Jung-30/+40
2020-12-26clarify wrapping ptr arithmetic docsRalf Jung-72/+102
2020-12-26Added reference to tracking issue #80377Albin Hedman-6/+6
2020-12-26Constify *const T::read[_unaligned] and *mut T::read[_unaligned]Albin Hedman-4/+8
2020-12-26Constify ptr::read and ptr::read_unalignedAlbin Hedman-2/+4
2020-12-04 Rename `AllocRef` to `Allocator` and `(de)alloc` to `(de)allocate`Tim Diekmann-2/+2
2020-11-30ptr linksAlexis Bourget-19/+19
2020-11-30Intra doc links for the pointer primitiveAlexis Bourget-19/+19
2020-11-21Rollup merge of #77844 - RalfJung:zst-box, r=nikomatsakisDylan DPC-2/+6
2020-11-20reference NonNull::danglingRalf Jung-5/+6
2020-10-29Improve wording of `core::ptr::drop_in_place` docsCamelid-3/+3
2020-10-26Auto merge of #75728 - nagisa:improve_align_offset_2, r=Mark-Simulacrumbors-3/+14
2020-10-16stop relying on feature(untagged_unions) in stdlibRalf Jung-0/+10
2020-10-13explicitly talk about integer literalsRalf Jung-4/+4
2020-10-12clarify rules for ZST BoxesRalf Jung-2/+5
2020-09-28Rename AllocErr to AllocErrorJacob Hughes-1/+1
2020-09-09Rollup merge of #76497 - camelid:intra-doc-links-for-core-ptr, r=jyn514Tyler Mandry-58/+23
2020-09-09Fix anchor linksCamelid-10/+10
2020-09-08Fix broken linkCamelid-4/+4
2020-09-08Use intra-doc links in `core::ptr`Camelid-56/+21
2020-09-08Remove a stray ignore-tidy-undocumented-unsafemoonheart08-2/+0
2020-08-30Rollup merge of #75917 - poliorcetics:intra-doc-core-nonnull, r=jyn514Dylan DPC-20/+16
2020-08-26Fix potential UB in align_offset docsElichai Turkel-2/+2
2020-08-25Move to intra doc links for core::ptr::non_nullAlexis Bourget-20/+16
2020-08-23bump stable versionRalf Jung-2/+2
2020-08-22fix dead links to wrapping_offset_fromRalf Jung-14/+4
2020-08-22remove feature gate from testsRalf Jung-8/+0
2020-08-22stabilize ptr_offset_fromRalf Jung-2/+2
2020-08-22remove deprecated wrapping_offset_fromRalf Jung-103/+0
2020-08-22offset_from: also document same-provenance requirementRalf Jung-0/+44
2020-08-20Optimise align_offset for stride=1 furtherSimonas Kazlauskas-3/+14
2020-08-19Auto merge of #75600 - nagisa:improve_align_offset, r=KodrAusbors-28/+47
2020-08-18Rollup merge of #75392 - TimDiekmann:non-null-uninit-slice, r=RalfJungYuki Okushi-81/+567
2020-08-17Auto merge of #74940 - oli-obk:const_is_null, r=RalfJungbors-4/+24
2020-08-17Add `as_uninit`-like methods to pointer types and unify documentation of `as_...Tim Diekmann-81/+567
2020-08-16Improve codegen of align_offset when stride == 1Simonas Kazlauskas-13/+11
2020-08-16Improve `align_offset` at opt-level <= 1Simonas Kazlauskas-17/+38
2020-08-11mentions provenance, changes argument type, adds must_use attroliver-giersch-8/+26
2020-08-11Make `<*const T>::is_null` const fnOliver Scherer-4/+24
2020-08-09Rollup merge of #75266 - aticu:master, r=RalfJungYuki Okushi-0/+36
2020-08-09Rollup merge of #75248 - TimDiekmann:NonNull-as_mut_ptr, r=RalfJungYuki Okushi-0/+18