summary refs log tree commit diff
path: root/library/core/src/mem
AgeCommit message (Expand)AuthorLines
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
2023-11-17only free lifetimes may get erasedlcnr-4/+6
2023-11-15Re-format code with new rustfmtMark Rousskov-4/+1
2023-11-15Bump cfg(bootstrap)sMark Rousskov-4/+1
2023-11-15Substitute version placeholdersMark Rousskov-4/+4
2023-11-11Rename MaybeUninit::write_sliceKornel-11/+11
2023-11-05Auto merge of #117537 - GKFX:offset-of-enum-feature, r=cjgillotbors-0/+1
2023-11-05Auto merge of #116218 - tgross35:const-maybe-uninit-zeroed, r=dtolnaybors-7/+13
2023-11-04Stabilize `const_mem_zeroed`Trevor Gross-1/+2
2023-11-04Stabilize `const_maybe_uninit_zeroed`Trevor Gross-6/+11
2023-11-03cfg_attr offset_of_enum feature in doctestGeorge Bateman-1/+2
2023-11-03Feature gate enums in offset_ofGeorge Bateman-1/+1
2023-11-03Auto merge of #117510 - elichai:patch-3, r=cuviperbors-0/+1