about summary refs log tree commit diff
path: root/library/core/src/ptr
AgeCommit message (Expand)AuthorLines
2025-05-21Add some track_caller info to precondition panicsBen Kimock-38/+42
2025-05-20Implement `ptr::try_cast_aligned` and `NonNull::try_cast_aligned`.Mathis Bottinelli-0/+85
2025-05-20make std::intrinsic functions actually be intrinsicsRalf Jung-10/+283
2025-05-18Rollup merge of #140511 - mathisbot:master, r=dtolnayLeón Orell Valerian Liehr-2/+4
2025-05-12update version placeholdersPietro Albini-5/+5
2025-05-04Rollup merge of #137280 - RalfJung:const_swap_nonoverlapping, r=lcnrTrevor Gross-1/+36
2025-04-30Stabilize `#![feature(non_null_from_ref)]`Mathis B-2/+4
2025-04-30Rollup merge of #139192 - lolbinarycat:docs-wrapping_offset-provenance-139008...Matthias Krüger-4/+6
2025-04-29mention provenance in the pointer::wrapping_offset docsbinarycat-4/+6
2025-04-29stabilize ptr::swap_nonoverlapping in constRalf Jung-1/+36
2025-04-28Rename sub_ptr to offset_from_unsigned in docsDaniPopes-11/+12
2025-04-19Rollup merge of #139535 - ChrisDenton:default-ptr, r=tgross35Chris Denton-0/+16
2025-04-14ptr docs: add missing backtics around 'usize'Ralf Jung-1/+1
2025-04-11Implement Default for raw pointersChris Denton-0/+16
2025-04-10Auto merge of #137412 - scottmcm:redo-swap, r=cuviperbors-48/+88
2025-04-09Ensure `swap_nonoverlapping` is really always untypedScott McMurray-48/+88
2025-04-09replace version placeholderBoxy-12/+12
2025-04-06Auto merge of #138951 - jwnrt:alloc-raw-vec-strict-prov, r=Noratriebbors-1/+7
2025-04-05Rollup merge of #136877 - Sky9x:const-inherent-ptr-replace, r=jhprattMatthias Krüger-2/+4
2025-03-28std: Explain range follows standard half-open range in `offset`xizheyin-1/+2
2025-03-26Expose `Unique::from<NonNull>` in const internallyJames Wainwright-1/+7
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-11Fix missing const for inherent pointer `replace` methodsSky-2/+4
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