summary refs log tree commit diff
path: root/library/core/src/mem
AgeCommit message (Expand)AuthorLines
2022-05-09Auto merge of #95960 - jhpratt:remove-rustc_deprecated, r=compiler-errorsbors-3/+3
2022-04-15MaybeUninit array cleanupltdk-8/+13
2022-04-14Remove use of `#[rustc_deprecated]`Jacob Pratt-3/+3
2022-04-09Rollup merge of #95361 - scottmcm:valid-align, r=Mark-SimulacrumDylan DPC-0/+246
2022-04-08Make non-power-of-two alignments a validity error in `Layout`Scott McMurray-0/+246
2022-04-03core: document that the align_of* functions return the alignment in bytesAdam Sandberg Ericsson-5/+8
2022-03-31Adjust MaybeUninit feature names to avoid changing unstable oneDavid Tolnay-4/+4
2022-03-31Adjust feature names that disagree on const stabilization versionDavid Tolnay-4/+4
2022-03-28Rollup merge of #88375 - joshlf:patch-3, r=dtolnayDylan DPC-5/+6
2022-03-04Add #![allow(unexpected_cfgs)] in preparation of global --check-cfgLoïc BRANSTETT-0/+1
2022-02-26For MIRI, cfg out the swap logic from 94212Scott McMurray-5/+22
2022-02-21Stop manually SIMDing in swap_nonoverlappingScott McMurray-3/+42
2022-01-19Add MaybeUninit::as_bytesAmanieu d'Antras-1/+124
2022-01-17Stabilize vec_spare_capacityAmanieu d'Antras-2/+2
2022-01-11Partially stabilize `maybe_uninit_extra`Miguel Ojeda-6/+4
2022-01-04Add note about non_exhaustive to variant_countMark Rousskov-0/+4
2021-12-17Add space and 2 grave accentsr00ster-2/+2
2021-12-16Rollup merge of #91796 - not-my-profile:fix-const_manually_drop-since, r=kennytmMatthias Krüger-2/+2
2021-12-13Make `MaybeUninit::zeroed` `const`woppopo-1/+2
2021-12-11Fix since attribute for const_manually_drop featureMartin Fischer-2/+2
2021-11-30Apply cfg-bootstrap switchMark Rousskov-1/+0
2021-11-28Stabilize some `MaybeUninit` behavior as constJacob Pratt-5/+6
2021-10-30Add #[must_use] to mem/ptr functionsJohn Kugelman-0/+13
2021-10-12Auto merge of #89769 - jkugelman:must-use-maybe-uninit-new, r=joshtriplettbors-0/+1
2021-10-11Update library/core/src/mem/maybe_uninit.rsJohn Kugelman-1/+1
2021-10-11Auto merge of #83908 - Flying-Toast:master, r=davidtwcobors-0/+1
2021-10-11Add #[must_use] to MaybeUninit::newJohn Kugelman-0/+1
2021-10-11Add enum_intrinsics_non_enums lintFlying-Toast-0/+1
2021-10-10Add #[must_use] to core and std constructorsJohn Kugelman-0/+3
2021-09-15Const DerefDeadbeef-2/+4
2021-08-26Clarify that ManuallyDrop<T> has same layout as TJoshua Liebow-Feeser-5/+6
2021-08-22Fix typos “an”→“a” and a few different ones that appeared in the sa...Frank Steffahn-1/+1
2021-07-30Auto merge of #87445 - amalik18:issue-83584-fix, r=kennytmbors-1/+1
2021-07-29Fix may not to appropriate might not or must notAli Malik-1/+1
2021-07-28Add #[track_caller] for some function in core::mem.Mara Bos-0/+5
2021-07-24DOC: remove unnecessary feature crate attribute from example codeMatthias Geier-1/+0
2021-07-18Rollup merge of #87170 - xFrednet:clippy-5393-add-diagnostic-items, r=Manishe...Yuki Okushi-0/+6
2021-07-15Added diagnostic items to functions for ClippyxFrednet-0/+6
2021-07-13Rollup merge of #86344 - est31:maybe-uninit-extra, r=RalfJungYuki Okushi-15/+43
2021-07-12Use the write function in some more placesest31-6/+6
2021-06-27Revert "Revert effects of PRs 81167 and 83091."Albin Hedman-2/+4
2021-06-25Fix a few misspellings.Eric Huss-5/+5
2021-06-25Fix grammar mistakeest31-1/+1
2021-06-25Add another exampleest31-0/+30
2021-06-16Split MaybeUninit::write into new feature gate and stabilize itest31-8/+6
2021-06-15Rollup merge of #86220 - est31:maybe-uninit-extra, r=RalfJungYuki Okushi-13/+67
2021-06-14Auto merge of #86273 - JohnTitor:stabilize-maybe-uninit-ref, r=RalfJungbors-12/+2
2021-06-14Improve maybe_uninit_extra docsest31-13/+67
2021-06-14Auto merge of #85758 - petertodd:2021-revert-manuallydrop-clone-from, r=m-ou-sebors-14/+1
2021-06-14Stabilize `maybe_uninit_ref`Yuki Okushi-12/+2