summary refs log tree commit diff
path: root/src/libcore/ptr.rs
AgeCommit message (Expand)AuthorLines
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-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
2017-12-16Move PhantomData<T> from Shared<T> to users of both Shared and #[may_dangle]Simon Sapin-23/+12
2017-12-04Document behavior of `ptr::swap` with overlapping regions of memory.Corey Farwell-2/+40
2017-11-29Rollup merge of #46287 - SimonSapin:stable-constness, r=aturonkennytm-4/+0
2017-11-26Stabilize const-calling existing const-fns in stdSimon Sapin-4/+0
2017-11-19Remove `T: Sized` on `ptr::is_null()`Josh Stone-13/+21
2017-11-07Auto merge of #44932 - cuviper:unsized-ptr-is_null, r=alexcrichtonbors-6/+12
2017-10-29Fix references to zero_memory and copy_memory in ptr docsFlorian Hartwig-9/+9
2017-10-26Bump to 1.23 and update bootstrapAlex Crichton-4/+4
2017-10-20Fix most rendering warnings from switching to CommonMarksteveklabnik-6/+6
2017-10-10Restore `T: Sized` on `ptr::is_null`Josh Stone-21/+13
2017-10-05Auto merge of #44943 - nivkner:fixme_fixup, r=dtolnaybors-2/+0
2017-09-30address some `FIXME`s whose associated issues were marked as closedNiv Kaminer-2/+0
2017-09-29Document that there are many possible null pointersJosh Stone-0/+10
2017-09-29Remove `T: Sized` on `ptr::is_null()`, `as_ref()`, `as_mut()`Josh Stone-7/+11
2017-09-28Normalize spaces in lang attributes.Havvy-1/+1