summary refs log tree commit diff
path: root/src/libcore/ptr.rs
AgeCommit message (Expand)AuthorLines
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
2017-09-17Add `<*const T>::align_offset` and use it in `memchr`Oliver Schneider-1/+74
2017-09-16Auto merge of #43964 - Gankro:unsafe-reform, r=sfacklerbors-12/+1174
2017-09-16change #![feature(const_fn)] to specific gatesAlex Burka-0/+6
2017-09-10implement unsafe pointer methodsAlexis Beingessner-12/+1174
2017-08-31Update bootstrap compilerAlex Crichton-27/+0
2017-08-14Make `Clone` a lang item and generate builtin impls.scalexm-0/+3
2017-08-13Addresses comments in PR #43836Alexey Tarasov-10/+8
2017-08-12Follow up commit for the issue 39827Alexey Tarasov-0/+12
2017-07-22Fix unstable feature name for some impls for Unique<T>Simon Sapin-2/+2
2017-07-22Add conversions from references to NonZero pointers, Unique, and SharedSimon Sapin-0/+28
2017-07-22Implement From<Unique<T>> for Shared<T>Simon Sapin-0/+8
2017-07-22Rename {NonZero,Shared,Unique}::new_checked to newSimon Sapin-4/+4
2017-07-22Rename {NonZero,Shared,Unique}::new to new_uncheckedSimon Sapin-6/+6
2017-07-22Add `new_checked(…) -> Option<Self>` to NonZero, Unique, and Shared.Simon Sapin-2/+12
2017-07-20std: Cut down #[inline] annotations where not necessaryAlex Crichton-2/+2
2017-07-10Disable big-endian simd in swap_nonoverlapping_bytesJosh Stone-1/+4
2017-06-28Auto merge of #42819 - scottmcm:swap-nonoverlapping, r=sfacklerbors-0/+84
2017-06-23Removed as many "```ignore" as possible.kennytm-6/+6
2017-06-21Reuse the mem::swap optimizations to speed up slice::rotateScott McMurray-0/+84