about summary refs log tree commit diff
path: root/src/libcore/ptr.rs
AgeCommit message (Expand)AuthorLines
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
2018-01-20Fix some doc-comment examples for earlier API refactorSimon Sapin-4/+4
2018-01-20Stabilize std::ptr::NonNullSimon Sapin-15/+17
2018-01-20Remove a deprecated (renamed) and unstable method of NonNullSimon Sapin-7/+0
2018-01-20Mark Unique as perma-unstable, with the feature renamed to ptr_internals.Simon Sapin-15/+15
2018-01-20Replace Unique<T> with NonZero<T> in Alloc traitSimon Sapin-0/+7
2018-01-20Rename std::ptr::Shared to NonNullSimon Sapin-41/+46
2018-01-20Implement Debug for ptr::Shared and ptr::Unique.Corey Farwell-2/+14
2017-12-25Auto merge of #46914 - mikeyhew:raw_pointer_self, r=arielb1bors-2/+2
2017-12-23fix doctests in libcoreMichael Hewson-2/+2
2017-12-21docs: do not call integer overflows as underflowsTrevor Spiteri-8/+4