about summary refs log tree commit diff
path: root/library/core/src/mem
AgeCommit message (Expand)AuthorLines
2021-10-11Auto merge of #83908 - Flying-Toast:master, r=davidtwcobors-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-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
2021-06-04Revert effects of PRs 81167 and 83091.Felix S. Klock II-4/+2
2021-05-27Revert #85176 addition of `clone_from` for `ManuallyDrop`Peter Todd-14/+1
2021-05-11Override `clone_from` for some typesBenoît du Garreau-1/+14
2021-05-05Fix typo in `MaybeUninit::array_assume_init` safety commentSebastian Dröge-1/+1
2021-05-02Change 'NULL' to 'null'Brent Kerby-1/+1
2021-04-21Remove `delete` alias from `mem::drop`.Mara Bos-1/+0
2021-04-10fix Miri errors in libcore doctestsRalf Jung-6/+6
2021-04-03addr_of_mut: add example for creating a pointer to uninit dataRalf Jung-0/+2
2021-03-27update comment at MaybeUninit::uninit_arrayRalf Jung-3/+3
2021-03-21Auto merge of #83053 - oli-obk:const_stab_version, r=m-ou-sebors-2/+2
2021-03-15Constify mem::transmute_copyAlbin Hedman-1/+2
2021-03-15Constify mem::replace and ptr::replaceAlbin Hedman-1/+2
2021-03-15Constify mem::swap and ptr::swap[_nonoverlapping]Albin Hedman-1/+2
2021-03-15Fix const stability `since` versions.Oli Scherer-2/+2
2021-03-11Don't implement mem::replace with mem::swap.Mara Bos-3/+9
2021-03-06tweak MaybeUninit docsRalf Jung-4/+5
2021-02-25Convert primitives to use intra-doc linksJoshua Nelson-5/+0
2021-02-20Update the bootstrap compilerJoshua Nelson-8/+0
2021-02-06Rollup merge of #81580 - rodrimati1992:patch-2, r=dtolnayMara Bos-4/+35
2021-01-31Update comment about leakingrodrimati1992-1/+1
2021-01-31Add doc aliases for "delete"Konrad Borowski-0/+1
2021-01-31Update maybe_uninit.rsrodrimati1992-1/+1
2021-01-31Removed trailing whitespacerodrimati1992-7/+7
2021-01-31Document how `MaybeUninit<Struct>` can be initialized.rodrimati1992-4/+35
2021-01-27Fix assertion in `MaybeUninit::array_assume_init()` for zero-length arrayshyd-dev-1/+1
2021-01-12Rollup merge of #80600 - CoffeeBlend:maybe_uninit_array_assume_init, r=dtolnayYuki Okushi-0/+40
2021-01-12Fix implementationCoffeeBlend-1/+1