summary refs log tree commit diff
path: root/library/core/src/ptr
AgeCommit message (Expand)AuthorLines
2025-03-31replace version placeholderBoxy-12/+12
2025-03-28std: Explain range follows standard half-open range in `offset`xizheyin-1/+2
2025-03-16Rollup merge of #135080 - Enselic:debug-ptr-metadata, r=thomcc许杰友 Jieyou Xu (Joe)-0/+2
2025-03-11remove must_use from <*const T>::expose_provenanceRalf Jung-1/+0
2025-03-06Use turbofish for size_of<T> and align_of<T> in docsThalia Archibald-10/+10
2025-03-06library: Use size_of from the prelude instead of importedThalia Archibald-56/+46
2025-02-23rename sub_ptr 😅bendn-26/+26
2025-02-17stabilize (const_)ptr_sub_ptrbendn-20/+12
2025-02-15core: Document why Pointee::Metadata can't have 'static boundMartin Nordholts-0/+2
2025-02-14core: Apply unsafe_op_in_unsafe_fnEric Huss-6/+6
2025-02-12Change swap_nonoverlapping from lang to library UBBen Kimock-1/+1
2025-02-09Mark extern blocks as unsafeMichael Goulet-1/+1
2025-02-01document ptr comparison being by addressMarijn Schouten-3/+8
2025-01-15Less unsafe in `dangling`/`without_provenance`Scott McMurray-20/+19
2025-01-10Rollup merge of #134908 - madsmtm:ptr-from_ref-docs, r=ibraheemdevMatthias Krüger-2/+2
2025-01-09Auto merge of #135268 - pietroalbini:pa-bump-stage0, r=Mark-Simulacrumbors-9/+7
2025-01-08update cfg(bootstrap)Pietro Albini-4/+2
2025-01-08update version placeholdersPietro Albini-5/+5
2025-01-08add missing provenance APIs on NonNullRalf Jung-3/+45
2024-12-31Rollup merge of #134953 - DiuDiu777:unaligned-doc, r=RalfJungMatthias Krüger-4/+0
2024-12-31Rollup merge of #134930 - RalfJung:ptr-docs-valid-access, r=jhprattStuart Cook-2/+2
2024-12-31fix doc for read write unaligned in zst operationLemonJ-4/+0
2024-12-30ptr docs: make it clear that we are talking only about memory accessesRalf Jung-2/+2
2024-12-30Fix ptr::from_ref documentation example commentMads Marquart-2/+2
2024-12-25stabilize const_swapRalf Jung-4/+3
2024-12-23core: fix const ptr::swap_nonoverlapping when there are pointers at odd offse...Ralf Jung-31/+42
2024-12-22Rollup merge of #134642 - kpreid:pointerlike-cell, r=compiler-errorsMatthias Krüger-0/+4
2024-12-22Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `Sy...Kevin Reid-0/+4
2024-12-21Rollup merge of #134325 - theemathas:is_null-docs, r=RalfJungMatthias Krüger-14/+89
2024-12-21Document CTFE behavior of methods that call is_nullTim (Theemathas) Chirananthavat-0/+69
2024-12-21Correctly document is_null CTFE behavior.Tim (Theemathas) Chirananthavat-16/+22
2024-12-21Less unwrap() in documentationKornel-3/+6
2024-12-20split up `#[rustc_deny_explicit_impl]` attributeLukas Markeffsky-1/+3
2024-12-19fix typo in ptr/mod.rsleejaehong-1/+1
2024-12-12Fix typos in docs on provenanceAlisa Sireneva-4/+5
2024-12-11Remove consteval note from <*mut T>::align_offset docs.Zachary S-9/+0
2024-12-10stabilize const_nonnull_newRalf Jung-3/+1
2024-12-04Rollup merge of #133651 - scottmcm:nonnull-nonzero-no-field-projection, r=oli...Matthias Krüger-23/+30
2024-12-03Update `NonZero` and `NonNull` to not field-project (per MCP807)Scott McMurray-23/+30
2024-12-01Rollup merge of #133678 - Urgau:stabilize-ptr_fn_addr_eq, r=jhprattJacob Pratt-3/+1
2024-12-01Rollup merge of #133672 - RalfJung:const-stability-cleanup, r=jhprattJacob Pratt-8/+1
2024-11-30Stabilize `ptr::fn_addr_eq`Urgau-3/+1
2024-11-30get rid of a bunch of unnecessary rustc_const_unstableRalf Jung-8/+1
2024-11-30move swap_nonoverlapping constness to separate feature gateRalf Jung-2/+2
2024-11-29Auto merge of #133533 - BoxyUwU:bump-boostrap, r=jieyouxu,Mark-Simulacrumbors-41/+26
2024-11-27update cfgsBoxy-15/+0
2024-11-27replace placeholder versionBoxy-26/+26
2024-11-26Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '...Gabriel Bjørnager Jensen-0/+32
2024-11-16clean up const stability around UB checksRalf Jung-8/+8
2024-11-16stabilize const_ptr_is_nullRalf Jung-6/+8