about summary refs log tree commit diff
path: root/library/core/src/ptr/mod.rs
AgeCommit message (Expand)AuthorLines
2023-12-15Stabilize `ptr::{from_ref, from_mut}`Maybe Waffle-2/+5
2023-12-11Auto merge of #117758 - Urgau:lint_pointer_trait_comparisons, r=davidtwcobors-0/+1
2023-12-06Allow ambiguous_wide_pointer_comparisons lint for std methodsUrgau-0/+1
2023-11-30move exposed-provenance APIs into separate feature gate and explain the relat...Ralf Jung-39/+51
2023-11-25Rollup merge of #117968 - Urgau:stabilize-ptr-addr-eq, r=dtolnayMichael Goulet-4/+5
2023-11-16Stabilize ptr_addr_eq library featureUrgau-4/+5
2023-11-11Auto merge of #115694 - clarfonthey:std-hash-private, r=dtolnaybors-2/+1
2023-11-10Auto merge of #117572 - RalfJung:addr_of, r=cuviperbors-6/+24
2023-11-10mention null explicitlyRalf Jung-2/+2
2023-11-05update and clarify addr_of docsRalf Jung-6/+24
2023-11-02Add insta-stable std::hash::{DefaultHasher, RandomState} exportsltdk-2/+1
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