summary refs log tree commit diff
path: root/library/core/src/ptr/mod.rs
AgeCommit message (Expand)AuthorLines
2024-10-14replace placeholder versionJosh Stone-4/+4
2024-10-12library: Stabilize `const_replace`Jubilee Young-1/+2
2024-10-12library: Stabilize `const_ptr_write`Jubilee Young-2/+3
2024-10-06Auto merge of #130540 - veera-sivarajan:fix-87525, r=estebankbors-0/+1
2024-10-05Add a Lint for Pointer to Integer Transmutes in ConstsVeera-0/+1
2024-10-01Stabilize `const_slice_from_raw_parts_mut`Eduardo Sánchez Muñoz-1/+1
2024-09-28make ptr metadata functions callable from stable const fnRalf Jung-3/+0
2024-09-25Use `&raw` in the standard libraryJosh Stone-3/+1
2024-09-23stabilize const_intrinsic_copyRalf Jung-5/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-09-05Rollup merge of #129653 - RalfJung:addr-of-read-only, r=scottmcmMatthias Krüger-0/+8
2024-08-28addr_of on places derived from raw pointers should preserve permissionsRalf Jung-3/+7
2024-08-27fix Pointer to reference conversion docsRalf Jung-23/+15
2024-08-27clarify that addr_of creates read-only pointersRalf Jung-0/+4
2024-08-27Rollup merge of #128157 - lolbinarycat:unify-ptr-ref-docs, r=cuviperMatthias Krüger-0/+46
2024-08-26Apply suggestions from code reviewJosh Stone-1/+1
2024-08-24Rollup merge of #129323 - Urgau:ptr_fn_addr_eq, r=Mark-SimulacrumMatthias Krüger-0/+27
2024-08-22fix typos in new pointer conversion docsbinarycat-1/+1
2024-08-20Implement `ptr::fn_addr_eq`Urgau-0/+27
2024-08-18soft-deprecate the addr_of macrosRalf Jung-0/+6
2024-07-29Rollup merge of #128307 - ojeda:unescaped_backticks, r=GuillaumeGomezMatthias Krüger-1/+1
2024-07-29Remove spurious backticks detected by `rustdoc::unescaped_backticks`Miguel Ojeda-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-9/+3
2024-07-28Rollup merge of #127765 - bitfield:fix_stdlib_doc_nits, r=dtolnayGuillaume Gomez-17/+17
2024-07-27Rollup merge of #125897 - RalfJung:from-ref, r=AmanieuTrevor Gross-4/+84
2024-07-26Fix doc nitsJohn Arundel-17/+17
2024-07-25clarify interactions with MaybeUninit and UnsafeCellbinarycat-6/+10
2024-07-25remove duplicate explanations of the ptr to ref conversion rulesbinarycat-8/+26
2024-07-25create a new section on pointer to reference conversionbinarycat-0/+24
2024-07-17Avoid comments that describe multiple `use` items.Nicholas Nethercote-3/+2
2024-06-16doc: Added commas where neededRayyan Khan-6/+6
2024-06-06less garbage, more examplesRalf Jung-6/+74
2024-06-05Rollup merge of #123168 - joshtriplett:size-of-prelude, r=AmanieuJubilee-1/+1
2024-06-04more explicitly state the basic rules of working with the obtained raw pointersRalf Jung-0/+12
2024-06-02from_ref, from_mut: clarify domain of quantificationRalf Jung-4/+4
2024-05-30Rollup merge of #125739 - RalfJung:drop-in-place-docs, r=workingjubileeMatthias Krüger-1/+6
2024-05-30explain what the open questions are, and add a Miri test for thatRalf Jung-0/+5
2024-05-29drop_in_place: weaken the claim of equivalence with drop(ptr.read())Ralf Jung-1/+1
2024-05-29[ACP 362] genericize `ptr::from_raw_parts`Scott McMurray-4/+4
2024-05-22Auto merge of #117329 - RalfJung:offset-by-zero, r=oli-obk,scottmcmbors-8/+3
2024-05-13Rollup merge of #116675 - joshlf:patch-10, r=scottmcmJacob Pratt-5/+33
2024-05-13[ptr] Document maximum allocation sizeJoshua Liebow-Feeser-5/+33
2024-05-13Add `size_of`, `size_of_val`, `align_of`, and `align_of_val` to the preludeJosh Triplett-1/+1
2024-05-13offset, offset_from: allow zero-byte offset on arbitrary pointersRalf Jung-8/+3
2024-05-06Avoid a cast in `ptr::slice_from_raw_parts(_mut)`Scott McMurray-2/+2
2024-05-01Step bootstrap cfgsMark Rousskov-9/+0
2024-04-03rename `expose_addr` to `expose_provenance`joboet-7/+7
2024-04-02Rollup merge of #122935 - RalfJung:with-exposed-provenance, r=AmanieuJacob Pratt-12/+12
2024-03-30De-LLVM the unchecked shifts [MCP#693]Scott McMurray-2/+12
2024-03-23move assert_unsafe_preconditions to its own fileRalf Jung-17/+16