about summary refs log tree commit diff
path: root/library/core/src/ptr/mod.rs
AgeCommit message (Expand)AuthorLines
2023-10-20document that the null pointer has the 0 addressRalf Jung-0/+10
2023-10-14Auto merge of #116407 - Mark-Simulacrum:bootstrap-bump, r=onur-ozkanbors-2/+2
2023-10-08Bump to latest betaMark Rousskov-2/+2
2023-10-05Add more diagnostic items for clippyJason Newcomb-0/+10
2023-10-02add must_use on pointer equality functionsasquared31415-0/+2
2023-10-01Add `ptr::addr_eq`Scott McMurray-0/+22
2023-09-16Auto merge of #114494 - est31:extend_useless_ptr_null_checks, r=jackh726bors-1/+2
2023-09-05Rollup merge of #114794 - RalfJung:swap-safety, r=m-ou-seMatthias Krüger-1/+3
2023-09-05if -> whenRalf Jung-1/+1
2023-08-22Add support for ptr::write for the invalid_reference_casting lintUrgau-0/+3
2023-08-21try to clarify wordingRalf Jung-4/+3
2023-08-14clarify safety documentation of ptr::swap and ptr::copyRalf Jung-0/+3
2023-08-06Remove ptr_from_mut diagnostic itemest31-1/+0
2023-08-06Add #[rustc_never_returns_null_ptr] to std functionsest31-0/+2
2023-08-01Add diagnostic items for `<*const _>::cast` and `ptr::from_mut`Urgau-0/+1
2023-06-01Auto merge of #111567 - Urgau:uplift_cast_ref_to_mut, r=b-naberbors-0/+1
2023-05-31Add diagnostic items for `ptr::cast_mut` and `ptr::from_ref` Urgau-0/+1
2023-05-30Swap out CURRENT_RUSTC_VERSION to 1.71.0Mark Rousskov-2/+2
2023-05-21drop_in_place docs: remove pseudocode-ish implementation detailsErik Desjardins-15/+1
2023-05-20improve drop_in_place docsErik Desjardins-4/+6
2023-05-20Add missing "unsafe" to fix doctestPatrick Walton-1/+1
2023-05-20Update documentation for `drop_in_place()`Patrick Walton-6/+24
2023-05-05Stabilize const_ptr_readbors-2/+4
2023-05-05`assume` the runtime range of `align_offset`Scott McMurray-4/+10
2023-04-30Codegen fewer instructions in `mem::replace`Scott McMurray-9/+8
2023-04-28handle cfg(bootstrap)Pietro Albini-207/+36
2023-04-26Rollup merge of #110419 - jsoref:spelling-library, r=jyn514Matthias Krüger-1/+1
2023-04-26Spelling library/Josh Soref-1/+1
2023-04-16more hacksDeadbeef-1/+6
2023-04-12Make rust-intrinsic ABI unwindableGary Guo-0/+1
2023-03-27Use the FnPtr trait to avoid implementing common traits via macrosOli Scherer-106/+161
2023-03-14Improved implementation and comments after code review feedbackScott McMurray-3/+5
2023-03-12Add a better approach comment in `ptr::read` to justify the intrinsicScott McMurray-11/+32
2023-03-11`MaybeUninit::assume_init_read` should have `noundef` load metadataScott McMurray-6/+14
2023-03-09Make ptr::from_ref and ptr::from_mut in #106116 const.Raekye-2/+2
2023-01-14Remove various double spaces in source comments.André Vennberg-1/+1
2022-12-24Auto merge of #104977 - RalfJung:ptr-from-ref, r=dtolnaybors-15/+37
2022-12-24add tracking issue, fix typoRalf Jung-3/+3
2022-12-09Auto merge of #105262 - eduardosm:more-inline-always, r=thomccbors-3/+3
2022-12-08lib docs: fix typoRalf Jung-1/+1
2022-12-07Make some trivial functions `#[inline(always)]`Eduardo Sánchez Muñoz-3/+3
2022-11-27add ptr::from_{ref,mut}Ralf Jung-15/+37
2022-11-20enable fuzzy_provenance_casts in libcore+testsRalf Jung-0/+2
2022-11-19Update comment on pointer-to-usize transmuteLukas-3/+4
2022-11-19Revert "don't call `align_offset` during const eval, ever"Lukas Markeffsky-2/+5
2022-11-19don't call `align_offset` during const eval, everLukas Markeffsky-7/+2
2022-11-19make const `align_offset` usefulLukas Markeffsky-5/+16
2022-11-18Rollup merge of #103378 - nagisa:fix-infinite-offset, r=scottmcmManish Goregaokar-26/+28
2022-11-15Auto merge of #104054 - RalfJung:byte-provenance, r=oli-obkbors-14/+8
2022-11-14Auto merge of #103858 - Mark-Simulacrum:bump-bootstrap, r=pietroalbinibors-1/+0