summary refs log tree commit diff
path: root/library/core/src/mem
AgeCommit message (Expand)AuthorLines
2024-10-14replace placeholder versionJosh Stone-5/+2
2024-10-12library: Stabilize `const_replace`Jubilee Young-1/+2
2024-09-27Rollup merge of #130279 - theemathas:manually-drop-docs, r=thomcc,traviscrossGuillaume Gomez-12/+118
2024-09-21Reword ManuallyDrop+Box interactionTim (Theemathas) Chirananthavat-2/+3
2024-09-18run `x.py fmt`ultrabear-1/+4
2024-09-18stabilize `const_maybe_uninit_as_mut_ptr`ultrabear-2/+2
2024-09-13Fix awkward wording.Tim (Theemathas) Chirananthavat-10/+9
2024-09-13Address WaffleLapkin's commentsTim (Theemathas) Chirananthavat-9/+11
2024-09-12Document subtleties of `ManuallyDrop`Tim (Theemathas) Chirananthavat-11/+115
2024-09-11MaybeUninit::zeroed: mention that padding is not zeroedRalf Jung-0/+3
2024-09-05update cfgsBoxy-22/+12
2024-09-02chore: remove repetitive wordscuishuang-1/+1
2024-08-31Update mod.rsAlcaro-1/+1
2024-08-27safe transmute: Rename `BikeshedIntrinsicFrom` to `TransmuteFrom`Jack Wrenn-57/+54
2024-08-27Rollup merge of #129032 - jswrenn:transmute-method, r=compiler-errorsMatthias Krüger-21/+350
2024-08-24New `#[rustc_pub_transparent]` attributePavel Grigorenko-0/+2
2024-08-23document & impl the transmutation modeled by `BikeshedIntrinsicFrom`Jack Wrenn-21/+350
2024-08-09Polymorphize RawVecBen Kimock-0/+5
2024-07-29Stabilize offset_of_nestedGeorge Bateman-1/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-10/+2
2024-07-26Fix doc nitsJohn Arundel-5/+7
2024-07-24Rollup merge of #126152 - RalfJung:size_of_val_raw, r=saethlinMatthias Krüger-0/+8
2024-07-17Split part of `adt_const_params` into `unsized_const_params`Boxy-2/+4
2024-07-13Rollup merge of #127446 - zachs18:miri-stdlib-leaks-core-alloc, r=Mark-Simula...Jubilee-0/+18
2024-07-10size_of_val_raw: for length 0 this is safe to callRalf Jung-0/+8
2024-07-06Mitigate focused memory leaks in `core` doctests for Miri.Zachary S-0/+6
2024-07-06Remove non-focused memory leaks in `core` doctests for Miri.Zachary S-0/+12
2024-07-05Describe Sized requirements for mem::offset_ofNicholas Bishop-0/+14
2024-06-24Replace `MaybeUninit::uninit_array()` with array repeat expression.Kevin Reid-2/+1
2024-06-04Use inline const instead of unsafe to implement `MaybeUninit::uninit_array()`.Kevin Reid-2/+1
2024-06-04Use inline const instead of unsafe to construct arrays in `MaybeUninit` examp...Kevin Reid-10/+4
2024-05-10Fix typo in ManuallyDrop's documentationInfinixius-1/+1
2024-05-03Rollup merge of #123480 - Nadrieril:impl-all-derefpures, r=compiler-errorsMatthias Krüger-1/+4
2024-04-28Fix #124478 - offset_of! returns a temporaryGeorge Bateman-2/+2
2024-04-05Impl `DerefPure` for more std typesNadrieril-1/+4
2024-03-23Auto merge of #122582 - scottmcm:swap-intrinsic-v2, r=oli-obkbors-57/+3
2024-03-22`swap_simple` no longer needs to be a separate functionScott McMurray-32/+0
2024-03-20step cfgsMark Rousskov-1/+1
2024-03-19[doc]:fix error code exampleheisen-li-3/+3
2024-03-17Let codegen decide when to `mem::swap` with immediatesScott McMurray-25/+3
2024-03-05Implement MaybeUninit::fill{,_with,_from}Andrew Wock-16/+186
2024-02-27safe transmute: revise safety analysisJack Wrenn-4/+5
2024-02-16Auto merge of #116385 - kornelski:maybe-rename, r=Amanieubors-11/+11
2024-02-08Step all bootstrap cfgs forwardMark Rousskov-10/+0
2024-02-08Bump version placeholdersMark Rousskov-2/+2
2024-01-20Auto merge of #111803 - scottmcm:simple-swap-alternative, r=Mark-Simulacrumbors-1/+1
2024-01-19Tweak the threshold for chunked swappingAngelicosPhosphoros-1/+1
2024-01-19Stabilize simple offset_ofGeorge Bateman-8/+6
2024-01-02Make offset_of field parsing use metavariable which handles any spacingGeorge Bateman-0/+10
2023-12-10remove redundant importssurechen-1/+1