about summary refs log tree commit diff
path: root/src/libcore/ptr.rs
AgeCommit message (Expand)AuthorLines
2018-07-30Remove unstable and deprecated APIsSimon Sapin-80/+0
2018-07-27Fix doc comment for 'ptr::copy_to' methodZakarum-2/+2
2018-07-24clarify offset function safety concernsRalf Jung-4/+16
2018-07-23Rollup merge of #52051 - scottmcm:swap-directly, r=alexcrichtonkennytm-0/+13
2018-07-21Don't use SIMD in mem::swap for types smaller than the block sizeScott McMurray-0/+13
2018-07-18Document that Unique::empty() and NonNull::dangling() aren't sentinel valuesJosh Triplett-0/+10
2018-07-04Auto merge of #51395 - SimonSapin:repr-transparent, r=SimonSapinbors-0/+2
2018-06-30Bootstrap from 1.28.0-beta.3Mark Simulacrum-27/+0
2018-06-16Add #[repr(transparent)] to some libcore typesSimon Sapin-0/+2
2018-06-11Remove alloc::Opaque and use *mut u8 as pointer type for GlobalAllocMike Hommey-8/+0
2018-06-01Reword {ptr,mem}::replace docs.Corey Farwell-2/+3
2018-05-18Auto merge of #50319 - nagisa:align_to, r=alexcrichtonbors-46/+224
2018-05-17Remove the intrinsic for align_offsetSimonas Kazlauskas-10/+21
2018-05-17Change align_offset to support different stridesSimonas Kazlauskas-46/+213
2018-05-17Revert #49767steveklabnik-300/+70
2018-05-16Make core::nonzero privateSimon Sapin-9/+2
2018-05-15Rollup merge of #49767 - ecstatic-morse:ptr-docs, r=steveklabnikGuillaume Gomez-70/+300
2018-05-09Shorten ownership safety discussion in `read_volatile`Dylan MacKenzie-8/+15
2018-05-09Use the "Safety" heading instead of "Undefined Behavior"Dylan MacKenzie-43/+1
2018-05-01Rollup merge of #50233 - mark-i-m:const_vec, r=kennytmkennytm-3/+2
2018-04-28Rollup merge of #49858 - dmizuk:unique-doc-hidden, r=steveklabnikkennytm-0/+1
2018-04-25Make Vec::new constMark Mansi-3/+2
2018-04-17stabilize `nonnull_cast` featuretinaun-1/+1
2018-04-17stabilize `swap_nonoverlapping` featuretinaun-3/+1
2018-04-12Rename alloc::Void to alloc::OpaqueSimon Sapin-2/+2
2018-04-12Use NonNull<Void> instead of *mut u8 in the Alloc traitMike Hommey-0/+8
2018-04-11std: Mark `ptr::Unique` with `#[doc(hidden)]`Daiki Mizukami-0/+1
2018-04-09Fix various nits from PR reviewDylan MacKenzie-7/+6
2018-04-07Fix broken relative linksDylan MacKenzie-2/+2
2018-04-07Fix broken link in `write_unaligned` docsDylan MacKenzie-1/+1
2018-04-07Don't link "Undefined Behavior" headingDylan MacKenzie-22/+9
2018-04-07Fix example for `ptr::replace`Dylan MacKenzie-1/+1
2018-04-07Rewrite docs for `std::ptr`Dylan MacKenzie-71/+350
2018-03-31Deprecate offset_to; switch core&alloc to using offset_from insteadScott McMurray-4/+8
2018-03-29src/libcore/ptr.rs: Fix documentation for size of `Option<NonNull<T>>`Josh Triplett-1/+1
2018-03-26Auto merge of #49297 - scottmcm:offset-from, r=dtolnaybors-2/+227
2018-03-24Fix doctest mutability copy-pastaScott McMurray-2/+2
2018-03-24Documentation and naming improvementsScott McMurray-15/+33
2018-03-23Introduce unsafe offset_from on pointersScott McMurray-0/+207
2018-03-17Remove deprecated unstable ptr::Shared type alias.Simon Sapin-5/+0
2018-03-17Stop using deprecated NonZero APIsSimon Sapin-10/+18
2018-03-17Deprecate core::nonzero in favor of ptr::NonNull and num::NonZero*Simon Sapin-2/+9
2018-03-02Stabilize Unsafe Pointer Methodstinaun-78/+30
2018-02-10Correct a few stability attributesOliver Middleton-2/+2
2018-01-22Add an unstable `cast<U>() -> NonNull<U>` method to `NonNull<T>`.Simon Sapin-0/+8
2018-01-21Implement Eq, PartialEq, Ord, PartialOrd, and Hash for NonNull<_>Simon Sapin-0/+31
2018-01-21Move Debug for NonNull impl closer to other trait implsSimon Sapin-7/+7
2018-01-21NonNull ended up landing in 1.25Simon Sapin-18/+18
2018-01-20Rename NonNull::empty to dangling.Simon Sapin-1/+2
2018-01-20Preserve formatting options in Debug for NonNull/UniqueSimon Sapin-2/+2