summary refs log tree commit diff
path: root/src/libcore/mem.rs
AgeCommit message (Expand)AuthorLines
2018-11-22update various stdlib docsSteve Klabnik-10/+5
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
2018-04-16Stabilize core::hint::unreachable_unchecked.kennytm-12/+0
2018-04-03impl Unpin for PinWim Looman-0/+3
2018-03-18Update tracking issue.boats-14/+14
2018-03-15Pin and PinBox are fundamental.boats-0/+1
2018-03-14Pin and Unpin in libcore.boats-2/+109
2018-02-02Rollup merge of #46156 - SimonSapin:patch-14, r=withoutboatskennytm-0/+1
2017-12-27Correct a few stability attributesOliver Middleton-7/+7
2017-11-26Stabilize const-calling existing const-fns in stdSimon Sapin-2/+0
2017-11-21Document the size of boolSimon Sapin-0/+1
2017-10-26Bump to 1.23 and update bootstrapAlex Crichton-2/+2
2017-10-13Clarify how needs_drop is conservativeAlexis Beingessner-3/+5
2017-10-08core: Ensure std::mem::Discriminant is Send + SyncUlrik Sverdrup-1/+1
2017-10-01Auto merge of #44897 - Havvy:doc-size_of, r=steveklabnikbors-0/+78