about summary refs log tree commit diff
path: root/src/libcore/mem.rs
AgeCommit message (Expand)AuthorLines
2018-11-15Rollup merge of #55785 - stjepang:unsized-drop-forget, r=alexcrichtonPietro Albini-0/+13
2018-11-13Auto merge of #55052 - newpavlov:patch-2, r=alexcrichtonbors-1/+1
2018-11-12Auto merge of #55278 - Centril:constification-1, r=alexcrichtonbors-2/+1
2018-11-12Update docsStjepan Glavina-16/+3
2018-11-12Add forget_unsized onlyStjepan Glavina-107/+15
2018-11-10Fix documentation typos.Bruce Mitchener-4/+4
2018-11-10revert some more constification.Mazdak Farrokhzad-1/+1
2018-11-10constify parts of libcore.Mazdak Farrokhzad-3/+2
2018-11-08Allow unsized types in mem::drop and mem::forgetStjepan Glavina-1/+119
2018-10-31Bump nightly to 1.32.0Alex Crichton-11/+2
2018-10-28Rollup merge of #55421 - CAD97:patch-1, r=kennytmkennytm-0/+20
2018-10-28Add ManuallyDrop::takeChristopher Durham-0/+20
2018-10-21Add MaybeUninit::newSimon Sapin-0/+9
2018-10-13Use read_unaligned instead of read in transmute_copyArtyom Pavlov-1/+1
2018-10-03Only promote calls to `#[rustc_promotable]` const fnsOliver Schneider-0/+2
2018-09-30Auto merge of #54596 - mjbshaw:drop, r=RalfJungbors-0/+10
2018-09-27Bump to 1.31.0 and bootstrap from 1.30 betaJosh Stone-28/+0
2018-09-26Gate const core::mem::needs_drop behind const_needs_dropMichael Bradshaw-0/+1
2018-09-26Make core::mem::needs_drop a const fnMichael Bradshaw-0/+9
2018-09-22don't deprecate mem::{uninitialized,zeroed} just yetJorge Aparicio-2/+3
2018-09-22add MaybeUninit and deprecate mem::{uninitialized,zeroed}Jorge Aparicio-0/+95
2018-09-04Clarify `ManuallyDrop` docsTobias Bucher-2/+8
2018-08-31Implement the `min_const_fn` feature gateOliver Schneider-0/+28
2018-08-27Auto merge of #53227 - nivkner:pin_move, r=RalfJungbors-147/+2
2018-08-23Discourage overuse of mem::forgetKornel-39/+7
2018-08-23move PinMut into pin module and export through stdNiv Kaminer-147/+2
2018-08-09repr(transparent)Ralf Jung-0/+1
2018-08-06remove unnecessary CoerceUnsized implRalf Jung-3/+0
2018-08-03unsized ManuallyDropRalf Jung-3/+8
2018-08-01Switch to bootstrapping from 1.29 betaMark Rousskov-7/+0
2018-07-25Change ManuallyDrop from an union to a struct and make it a lang item.Eduard-Mihai Burtescu-92/+16
2018-07-21Don't use SIMD in mem::swap for types smaller than the block sizeScott McMurray-1/+1
2018-07-05Clarifying how the alignment of the struct worksVal Markovic-1/+4
2018-07-02Implement `UnsafeFutureObj` for `&mut Future`Josef Reinhard Brandl-1/+3
2018-07-02Make `drop` method for `PinMut`'s `UnsafeFutureObj` impl emptyJosef Reinhard Brandl-3/+1
2018-07-02`UnsafeFutureObj` impl for `PinMut`Josef Reinhard Brandl-0/+17
2018-06-23`PinMut`: Add safe `get_mut` and rename unsafe fns to `get_mut_unchecked` and...Josef Reinhard Brandl-4/+10
2018-06-08Document size_of for 128-bit integersbstrie-0/+2
2018-06-02Rollup merge of #51124 - frewsxcv:frewsxcv-replace, r=QuietMisdreavusMark Simulacrum-2/+3
2018-06-01Reword {ptr,mem}::replace docs.Corey Farwell-2/+3
2018-05-30Add doc link from discriminant struct to function.Corey Farwell-1/+3
2018-05-22Add PinMut::setTaylor Cramer-0/+8
2018-05-22Make `Unpin` safe to implementTaylor Cramer-1/+1
2018-05-09Rollup merge of #50148 - japaric:const-manuallydrop, r=oli-obkkennytm-1/+2
2018-05-07Rename PinMut::borrow to PinMut::reborrow and make it a methodRalf Jung-3/+6
2018-05-07PinMut::get_mut can also preserve the lifetimeRalf Jung-1/+1
2018-05-07Change PinMut::map to be able to preserve the original reference's lifetimeRalf Jung-1/+1
2018-05-07Rename Pin to PinMutRalf Jung-24/+24
2018-05-07make the const constructor unstableJorge Aparicio-0/+1
2018-04-21turn `ManuallyDrop::new` into a constant functionJorge Aparicio-1/+1