about summary refs log tree commit diff
path: root/src/libcore/mem
AgeCommit message (Expand)AuthorLines
2020-07-27mv std libs to library/mark-2029/+0
2020-07-23Rollup merge of #74141 - euclio:typos, r=steveklabnikManish Goregaokar-4/+4
2020-07-16apply bootstrap cfgsMark Rousskov-1/+0
2020-07-10Rollup merge of #73887 - DutchGhost:master, r=oli-obkManish Goregaokar-1/+1
2020-07-09libstd/libcore: fix various typosAndy Russell-4/+4
2020-07-05variant_count: avoid incorrect dummy implementationRalf Jung-0/+1
2020-06-30Deny unsafe ops in unsafe fns, part 6LeSeulArtichaut-1/+0
2020-06-30Deny unsafe ops in unsafe fns, part 2LeSeulArtichaut-18/+57
2020-06-30stabilize const mem::forgetDodo-1/+1
2020-06-26Rollup merge of #73579 - RalfJung:doc-missing-links, r=shepmasterManish Goregaokar-2/+4
2020-06-24Fix testsNathan Corbyn-0/+1
2020-06-24Fix testsNathan Corbyn-0/+2
2020-06-24Implement intrinsicNathan Corbyn-0/+27
2020-06-21improve grammarRalf Jung-2/+2
2020-06-21tweak wordingRalf Jung-2/+2
2020-06-21add missing doc linksRalf Jung-0/+2
2020-06-17Remove duplicate sentence fragment from mem::zeroed docDavid Tolnay-4/+4
2020-06-17Don't imply function pointers are referencesPoliorcetics-2/+2
2020-06-16Mention functions pointers in the documentationAlexis Bourget-5/+7
2020-06-15Fix typo in docs of std::memivan tkachenko-1/+1
2020-06-08Fix small typo in docs for std::mem::dropalamb-1/+1
2020-06-01Remove allow missing_debug_implementations for MaybeUninitKonrad Borowski-1/+0
2020-05-23add warning sign to UB examplesRalf Jung-13/+13
2020-05-19update libcore, add `discriminant_kind` lang-itemBastian Kauschke-3/+3
2020-05-16emphasize that ManuallyDrop is safe-to-access and unsafe-to-dropRalf Jung-1/+5
2020-05-15Improve the documentation for ManuallyDrop to resolve conflicting usage of te...Diggory Blake-10/+29
2020-04-25Bump bootstrap compilerMark Rousskov-20/+0
2020-04-23Rollup merge of #71446 - Amanieu:transmute_copy, r=sfacklerDylan DPC-1/+6
2020-04-22Only use read_unaligned in transmute_copy if necessaryAmanieu d'Antras-1/+6
2020-04-17Lint must_use on mem::replaceJosh Stone-0/+1
2020-03-22Auto merge of #69079 - CAD97:layout-of-ptr, r=RalfJungbors-0/+92
2020-03-21Allow calculating the layout behind a pointerCAD97-0/+92
2020-03-19Don't hard-code the vector length in the examples.Hrvoje Nikšić-4/+3
2020-03-19Minor re-wordings and typo fixes.Hrvoje Nikšić-8/+8
2020-03-19Restore (and reword) the warning against passing invalid values to mem::forget.Hrvoje Niksic-17/+35
2020-03-19Clarify the relationship between `forget()` and `ManuallyDrop`.Hrvoje Niksic-11/+27
2020-03-17Rollup merge of #69922 - RalfJung:less-intrinsic, r=oli-obkMazdak Farrokhzad-4/+4
2020-03-16make mem::{zeroed,uninitialized} inline(always)Ralf Jung-2/+2
2020-03-12rename panic_if_ intrinsics to assert_Ralf Jung-2/+14
2020-03-11implement zeroed and uninitialized with MaybeUninitRalf Jung-2/+2
2020-03-11Rollup merge of #69825 - lcnr:discriminant, r=oli-obkMazdak Farrokhzad-1/+2
2020-03-11Rollup merge of #66059 - RalfJung:panic-on-non-zero, r=eddybMazdak Farrokhzad-0/+6
2020-03-08constify `mem::discriminant`Bastian Kauschke-1/+2
2020-03-06fix various typosMatthias Krüger-2/+2
2020-03-02actually mark the function constDutchGhost-1/+1
2020-03-01constify mem::forgetDutchGhost-0/+1
2020-02-29mem::zeroed/uninit: panic on types that do not permit zero-initializationRalf Jung-0/+6
2020-02-22Fix doc example for `MaybeUninit::get_mut()`Daniel Henry-Mantilla-1/+1
2020-01-09stabalize ManuallyDrop::takeCAD97-7/+8
2020-01-03Minor: change take() docs grammar to match other docsPeter Todd-1/+1