about summary refs log tree commit diff
path: root/library/core/src/ptr/mut_ptr.rs
AgeCommit message (Expand)AuthorLines
2025-09-11Rollup merge of #142315 - lolbinarycat:core-dedup-ptr-docs-139190-pt3, r=work...Stuart Cook-69/+21
2025-09-10core::ptr: deduplicate docs for as_ref, addr, and as_uninit_refbinarycat-69/+21
2025-09-02docs(std): add missing closing code block fences in doc commentsAudaciousAxiom-0/+1
2025-08-14Rollup merge of #144515 - scottmcm:ptr_cast_array, r=Mark-SimulacrumGuillaume Gomez-0/+9
2025-08-12Add cast_init and cast_uninit methods for pointersltdk-0/+25
2025-08-06tidyBoxy-1/+1
2025-07-26Implement `ptr_cast_array`Scott McMurray-0/+9
2025-07-15constify some methods using `SliceIndex`Oli Scherer-2/+3
2025-07-03setup CI and tidy to use typos for spellchecking and fix few typosklensy-1/+1
2025-06-16library/compiler: add `PointeeSized` boundsDavid Wood-6/+7
2025-06-09core::ptr: deduplicate more method docsbinarycat-64/+4
2025-05-31terminology: allocated object → allocationRalf Jung-37/+38
2025-05-30Rollup merge of #141609 - lolbinarycat:core-dedup-ptr-docs-139190, r=workingj...Jubilee-62/+4
2025-05-27Auto merge of #129658 - saethlin:spare-a-crumb, r=jhprattbors-19/+19
2025-05-26core: begin deduplicating pointer docsbinarycat-62/+4
2025-05-22try_cast_aligned: avoid bare int-to-ptr castsRalf Jung-7/+5
2025-05-21Add some track_caller info to precondition panicsBen Kimock-19/+19
2025-05-20Implement `ptr::try_cast_aligned` and `NonNull::try_cast_aligned`.Mathis Bottinelli-0/+28
2025-05-12update version placeholdersPietro Albini-2/+2
2025-04-30Rollup merge of #139192 - lolbinarycat:docs-wrapping_offset-provenance-139008...Matthias Krüger-2/+3
2025-04-29mention provenance in the pointer::wrapping_offset docsbinarycat-2/+3
2025-04-28Rename sub_ptr to offset_from_unsigned in docsDaniPopes-4/+5
2025-04-11Implement Default for raw pointersChris Denton-0/+8
2025-04-09replace version placeholderBoxy-4/+4
2025-04-05Rollup merge of #136877 - Sky9x:const-inherent-ptr-replace, r=jhprattMatthias Krüger-1/+2
2025-03-06Use turbofish for size_of<T> and align_of<T> in docsThalia Archibald-4/+4
2025-03-06library: Use size_of from the prelude instead of importedThalia Archibald-12/+10
2025-02-23rename sub_ptr 😅bendn-8/+8
2025-02-17stabilize (const_)ptr_sub_ptrbendn-7/+4
2025-02-14core: Apply unsafe_op_in_unsafe_fnEric Huss-2/+2
2025-02-11Fix missing const for inherent pointer `replace` methodsSky-1/+2
2025-02-01document ptr comparison being by addressMarijn Schouten-1/+4
2025-01-08update version placeholdersPietro Albini-1/+1
2024-12-25stabilize const_swapRalf Jung-1/+1
2024-12-21Document CTFE behavior of methods that call is_nullTim (Theemathas) Chirananthavat-0/+41
2024-12-21Correctly document is_null CTFE behavior.Tim (Theemathas) Chirananthavat-8/+11
2024-12-11Remove consteval note from <*mut T>::align_offset docs.Zachary S-9/+0
2024-11-30get rid of a bunch of unnecessary rustc_const_unstableRalf Jung-5/+0
2024-11-29Auto merge of #133533 - BoxyUwU:bump-boostrap, r=jieyouxu,Mark-Simulacrumbors-9/+7
2024-11-27update cfgsBoxy-2/+0
2024-11-27replace placeholder versionBoxy-7/+7
2024-11-26Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '...Gabriel Bjørnager Jensen-0/+16
2024-11-16stabilize const_ptr_is_nullRalf Jung-3/+3
2024-11-05add const_eval_select macro to reduce redundancyRalf Jung-43/+38
2024-11-03remove const-support for align_offsetRalf Jung-182/+4
2024-11-02get rid of a whole bunch of unnecessary rustc_const_unstable attributesRalf Jung-6/+0
2024-11-02Rollup merge of #132459 - RalfJung:byte_sub_ptr, r=scottmcmGuillaume Gomez-3/+22
2024-11-01offset_from / sub_ptr docs: emphasize that pointers must be in the same alloc...Ralf Jung-4/+4
2024-11-01feat(byte_sub_ptr): add ptr::byte_sub_ptrAria Beingessner-0/+19
2024-11-01unchecked_shifts, unchecked_neg are safe-to-const-expose-on-stable, so we can...Ralf Jung-1/+1