summary refs log tree commit diff
path: root/library/core/src/ptr/mod.rs
AgeCommit message (Expand)AuthorLines
2021-05-03Remove some more constsMark Rousskov-2/+1
2021-05-03drop some const unstables, due to revert no longer possibleMark Rousskov-2/+1
2021-05-03Revert "directly expose copy and copy_nonoverlapping intrinsics"Mark Rousskov-3/+7
2021-03-15Constify mem::replace and ptr::replaceAlbin Hedman-1/+2
2021-03-15Constify mem::swap and ptr::swap[_nonoverlapping]Albin Hedman-14/+9
2021-03-14Fix a typo in `swap_nonoverlapping_bytes`Motoki Ikeda-1/+1
2021-02-25Convert primitives to use intra-doc linksJoshua Nelson-2/+2
2021-02-23Constify ptr::write and the write[_unaligned] methods on *mut TAlbin Hedman-3/+6
2021-02-15Pointer metadata: add tracking issue numberSimon Sapin-1/+1
2021-02-15Use new pointer metadata API inside libcore instead of manual transmutesSimon Sapin-7/+23
2021-02-15Add `ptr::from_raw_parts`, `ptr::from_raw_parts_mut`, and `NonNull::from_raw_...Simon Sapin-1/+1
2021-02-15Add `ptr::Pointee` trait (for all types) and `ptr::metadata` functionSimon Sapin-0/+6
2021-02-13Auto merge of #81238 - RalfJung:copy-intrinsics, r=m-ou-sebors-6/+1
2021-01-29rename raw_const/mut -> const/mut_addr_of, and stabilize themRalf Jung-10/+8
2021-01-21directly expose copy and copy_nonoverlapping intrinsicsRalf Jung-6/+1
2021-01-18remove some outdated comments regarding debug assertionsRalf Jung-3/+0
2021-01-02extend commentRalf Jung-1/+2
2020-12-30implement ptr::write without dedicated intrinsicRalf Jung-5/+11
2020-12-26Added reference to tracking issue #80377Albin Hedman-2/+2
2020-12-26Constify ptr::read and ptr::read_unalignedAlbin Hedman-2/+4
2020-11-21Rollup merge of #77844 - RalfJung:zst-box, r=nikomatsakisDylan DPC-2/+6
2020-11-20reference NonNull::danglingRalf Jung-5/+6
2020-10-29Improve wording of `core::ptr::drop_in_place` docsCamelid-3/+3
2020-10-26Auto merge of #75728 - nagisa:improve_align_offset_2, r=Mark-Simulacrumbors-3/+14
2020-10-16stop relying on feature(untagged_unions) in stdlibRalf Jung-0/+10
2020-10-13explicitly talk about integer literalsRalf Jung-4/+4
2020-10-12clarify rules for ZST BoxesRalf Jung-2/+5
2020-09-09Fix anchor linksCamelid-10/+10
2020-09-08Fix broken linkCamelid-4/+4
2020-09-08Use intra-doc links in `core::ptr`Camelid-56/+21
2020-08-20Optimise align_offset for stride=1 furtherSimonas Kazlauskas-3/+14
2020-08-16Improve codegen of align_offset when stride == 1Simonas Kazlauskas-13/+11
2020-08-16Improve `align_offset` at opt-level <= 1Simonas Kazlauskas-17/+38
2020-07-27mv std libs to library/mark-0/+1542