about summary refs log tree commit diff
path: root/library/core/src/ptr
AgeCommit message (Expand)AuthorLines
2023-03-28Auto merge of #108080 - oli-obk:FnPtr-trait, r=lcnrbors-106/+161
2023-03-27Use the FnPtr trait to avoid implementing common traits via macrosOli Scherer-106/+161
2023-03-27Rollup merge of #97506 - JohnTitor:stabilize-nonnull-slice-from-raw-parts, r=...Matthias Krüger-8/+5
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-10Rollup merge of #108964 - majaha:ptr_metadata_doc, r=workingjubileeMatthias Krüger-4/+4
2023-03-10Fix docs for ptr method with_metadata_of()Matt Harding-4/+4
2023-03-09Make ptr::from_ref and ptr::from_mut in #106116 const.Raekye-2/+2
2023-03-03Match unmatched backticks in library/est31-1/+1
2023-02-14"Basic usage" is redundant for there is just one exampleTshepang Mbambo-42/+0
2023-01-23`sub_ptr()` is equivalent to `usize::try_from().unwrap_unchecked()`, not `usi...Chayim Refael Friedman-2/+2
2023-01-18Rollup merge of #103702 - WaffleLapkin:lift-sized-bounds-from-pointer-methods...Dylan DPC-48/+15
2023-01-14Remove various double spaces in source comments.André Vennberg-1/+1
2022-12-30Use some more `const_eval_select` in pointer methods for compile timesNilstrieb-22/+66
2022-12-28Update bootstrap cfgPietro Albini-73/+17
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-19Update coerce_unsized tracking issue from #27732 to #18598Anders Kaseorg-1/+1
2022-12-09Make `<*{const,mut} T>::{,wrapping_}sub` methods `#[inline(always)]`Eduardo Sánchez Muñoz-4/+4
2022-12-09Auto merge of #105262 - eduardosm:more-inline-always, r=thomccbors-12/+18
2022-12-08lib docs: fix typoRalf Jung-1/+1
2022-12-07Make some trivial functions `#[inline(always)]`Eduardo Sánchez Muñoz-12/+18
2022-11-27add ptr::from_{ref,mut}Ralf Jung-15/+37
2022-11-22disable strict-provenance-violating doctests in MiriRalf Jung-0/+8
2022-11-22Rollup merge of #102207 - CraftSpider:const-layout, r=scottmcmManish Goregaokar-7/+17
2022-11-21Rustc_deprecated attribute superseded by deprecatedDavid Tolnay-8/+8
2022-11-21Bump ptr_to_from_bits deprecation to Rust 1.67David Tolnay-4/+4
2022-11-20Fix issue numberRune Tynan-1/+1
2022-11-20Update with derive_constRune Tynan-12/+11
2022-11-20Add stability for alignmentRune Tynan-0/+2
2022-11-20constify remaining layout methodsRune Tynan-5/+14
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-19docs cleanupLukas Markeffsky-72/+140
2022-11-19always use `align_offset` in `is_aligned_to` + add assembly testLukas Markeffsky-26/+12
2022-11-19Schrödinger's pointerLukas Markeffsky-0/+84
2022-11-19address more review commentsLukas Markeffsky-56/+52
2022-11-19document `is_aligned{,_to}`Lukas Markeffsky-8/+268
2022-11-19don't call `align_offset` during const eval, everLukas Markeffsky-7/+2
2022-11-19mark `align_offset` as `#[must_use]`Lukas Markeffsky-0/+2
2022-11-19constify `pointer::is_aligned{,_to}`Lukas Markeffsky-12/+38
2022-11-19make const `align_offset` usefulLukas Markeffsky-5/+46
2022-11-18Rollup merge of #103701 - WaffleLapkin:__points-at-implementation__--this-can...Manish Goregaokar-45/+20
2022-11-18Rollup merge of #103378 - nagisa:fix-infinite-offset, r=scottmcmManish Goregaokar-26/+28
2022-11-16Rollup merge of #103489 - WaffleLapkin:byte_offset_from_you, r=scottmcmMatthias Krüger-2/+2
2022-11-15Auto merge of #104054 - RalfJung:byte-provenance, r=oli-obkbors-14/+8
2022-11-15Rollup merge of #104339 - compiler-errors:rustc_deny_explicit_impl, r=cjgillotMatthias Krüger-0/+1
2022-11-14Add rustc_deny_explicit_implMichael Goulet-0/+1
2022-11-14Auto merge of #103858 - Mark-Simulacrum:bump-bootstrap, r=pietroalbinibors-1/+0