summary refs log tree commit diff
path: root/library/core/src/ptr
AgeCommit message (Expand)AuthorLines
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
2022-11-13Rollup merge of #103996 - SUPERCILEX:docs, r=RalfJungMatthias Krüger-2/+2
2022-11-09Rollup merge of #103694 - WaffleLapkin:mask_doc_example, r=scottmcmDylan DPC-0/+53
2022-11-07Lift `T: Sized` bounds from some `strict_provenance` `NonNull` methodsMaybe Waffle-12/+3
2022-11-06cfg-step codeMark Rousskov-1/+0
2022-11-06Add small clarification around using pointers derived from referencesAlex Saveau-2/+2
2022-11-06remove no-longer-needed work-arounds from the standard libraryRalf Jung-14/+8
2022-10-28Lift `T: Sized` bounds from some `strict_provenance` pointer methodsMaybe Waffle-36/+12
2022-10-28Simplify implementation of various pointer methodsMaybe Waffle-25/+14
2022-10-28Make `pointer::with_metadata_of` const (+simplify implementation)Maybe Waffle-20/+6