summary refs log tree commit diff
path: root/library/core/src/ptr
AgeCommit message (Expand)AuthorLines
2022-05-11Apply CR suggestions; add real tracking issueScott McMurray-8/+8
2022-05-11Add a debug check for ordering, and check for isize overflow in CTFEScott McMurray-0/+4
2022-05-11Rename `unsigned_offset_from` to `sub_ptr`Scott McMurray-12/+36
2022-05-11Add `unsigned_offset_from` on pointersScott McMurray-0/+121
2022-05-10Rollup merge of #96674 - bstrie:vardoc, r=thomccDylan DPC-1/+2
2022-05-07Rollup merge of #96336 - Nilstrieb:link-to-correct-as_mut-in-ptr-as_ref, r=Jo...Matthias Krüger-1/+1
2022-05-03docs: add link explaining variance to NonNull docsbstrie-1/+2
2022-05-02Fix typo in `offset_from` documentationAdrian Palacios-2/+2
2022-04-23Link to correct `as_mut` in docs for `pointer::as_ref`Nilstrieb-1/+1
2022-04-18Rollup merge of #96136 - thomcc:lifetime-wording, r=RalfJungDylan DPC-15/+15
2022-04-16Reword clarification on lifetime for ptr->ref safety docsThom Chiovoloni-15/+15
2022-04-14Implement `core::ptr::Unique` on top of `NonNull`Eduardo Sánchez Muñoz-19/+22
2022-04-05trivial cfg(bootstrap) changesPietro Albini-4/+0
2022-04-05Rollup merge of #95630 - declanvk:update-nonnull-doc, r=RalfJungDylan DPC-4/+8
2022-04-05Rollup merge of #95588 - RalfJung:strict-provenance, r=scottmcmDylan DPC-19/+217
2022-04-04explicitly distinguish pointer::addr and pointer::expose_addrRalf Jung-19/+217
2022-04-03Add doc links referencing raw pointer methodsDeclan Kelly-4/+8
2022-04-03Rollup merge of #95617 - saethlin:swap-test-invalidation, r=Dylan-DPCDylan DPC-2/+3
2022-04-03Fix &mut invalidation in ptr::swap doctestBen Kimock-2/+3
2022-04-03Auto merge of #92686 - saethlin:unsafe-debug-asserts, r=Amanieubors-10/+20
2022-04-02Rollup merge of #95556 - declanvk:nonnull-provenance, r=dtolnayDylan DPC-0/+48
2022-04-02Rollup merge of #95354 - dtolnay:rustc_const_stable, r=lcnrDylan DPC-2/+2
2022-04-01Implement provenance preserving method on NonNullDeclan Kelly-0/+48
2022-03-31Fix feature name of stable parts of strict_provenanceDavid Tolnay-2/+2
2022-03-31Fix typos in core::ptr docsbstrie-4/+4
2022-03-30Auto merge of #94963 - lcnr:inherent-impls-std, r=oli-obk,m-ou-sebors-4/+4
2022-03-30remove now unnecessary lang itemslcnr-4/+4
2022-03-29clarify that WASM has address spacesAria Beingessner-1/+1
2022-03-29fix doc linkAria Beingessner-1/+1
2022-03-29refine the definition of temporal provenanceAria Beingessner-1/+1
2022-03-29more review fixes to ptr docsAria Beingessner-11/+19
2022-03-29Add even more details to top-level pointer docsAria Beingessner-4/+20
2022-03-29clean up pointer docsAria Beingessner-37/+84
2022-03-29Make the stdlib largely conform to strict provenance.Aria Beingessner-4/+4
2022-03-29Introduce experimental APIs for conforming to "strict provenance".Aria Beingessner-10/+400
2022-03-29Add debug assertions to some unsafe functionsBen Kimock-10/+20
2022-03-28Auto merge of #95249 - HeroicKatora:set-ptr-value, r=dtolnaybors-82/+88
2022-03-26Bump const_ptr_offset stabilization to 1.61David Tolnay-12/+12
2022-03-23Refactor set_ptr_value as with_metadata_ofAndreas Molzer-82/+88
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-7/+7
2022-03-10Rollup merge of #94657 - fee1-dead:const_slice_index, r=oli-obkMatthias Krüger-6/+9
2022-03-09Rollup merge of #91804 - woppopo:const_clone, r=oli-obkMatthias Krüger-2/+4
2022-03-06Constify slice index for stringsDeadbeef-6/+9
2022-02-26For MIRI, cfg out the swap logic from 94212Scott McMurray-8/+15
2022-02-21Stop manually SIMDing in swap_nonoverlappingScott McMurray-90/+42
2022-02-17Rollup merge of #89869 - kpreid:from-doc, r=yaahcMatthias Krüger-0/+9
2022-02-13stabilize const_ptr_offsetSaltyKitkat-12/+12
2022-03-23ptr::guaranteed_eq doc typoasquared31415-2/+2
2022-01-23Make `NonNull::new` `const`woppopo-1/+2
2022-01-16fix const_ptr_offset_from tracking issueRalf Jung-2/+2