summary refs log tree commit diff
path: root/src/libcore/ptr
AgeCommit message (Expand)AuthorLines
2020-06-30Deny unsafe ops in unsafe fns, part 6LeSeulArtichaut-69/+174
2020-06-23Fix ptr doc warnings.Eric Huss-4/+0
2020-06-23Rollup merge of #73398 - oli-obk:const_raw_ptr_cmp, r=varkor,RalfJung,nagisaManish Goregaokar-0/+132
2020-06-21deprecate wrapping_offset_fromRalf Jung-0/+13
2020-06-20Address review commentsOliver Scherer-4/+4
2020-06-19Add fuzzy pointer comparison intrinsicsOliver Scherer-0/+132
2020-06-19Rollup merge of #73054 - RalfJung:dont-panic, r=Mark-SimulacrumRalf Jung-7/+21
2020-06-18Rollup merge of #72279 - RalfJung:raw-ref-macros, r=nikomatsakisManish Goregaokar-0/+67
2020-06-16memory access sanity checks: abort instead of panicRalf Jung-7/+21
2020-06-16add tracking issueRalf Jung-2/+2
2020-06-12add raw_ref macrosRalf Jung-0/+67
2020-06-12Rollup merge of #72906 - lzutao:migrate-numeric-assoc-consts, r=dtolnayDylan DPC-4/+4
2020-06-10Migrate to numeric associated constsLzu Tao-4/+4
2020-06-09[AVR] Fix debug printing of function pointersDylan McKay-2/+12
2020-05-25core: Make pointer offset methods "const fn"Joe Richey-12/+24
2020-05-18Apply suggestions from code reviewSimon Sapin-4/+4
2020-05-18Add `len` and `slice_from_raw_parts` to `NonNull<[T]>`Simon Sapin-0/+59
2020-05-17make many ptr functions must_useSteve Klabnik-0/+12
2020-05-16Rollup merge of #71625 - Diggsey:improve-manually-drop-docs, r=RalfJungDylan DPC-1/+7
2020-05-15Improve the documentation for ManuallyDrop to resolve conflicting usage of te...Diggory Blake-1/+7
2020-05-01Document unsafety for `*const T` and `*mut T`LeSeulArtichaut-4/+8
2020-04-30rename-unique: Rename Unique::empty() to Unique::dangling()cohenarthur-2/+1
2020-04-29Rollup merge of #71507 - CohenArthur:document-unsafe-libcore-ptr, r=Mark-Simu...Dylan DPC-7/+45
2020-04-29safety-ptr: Add SAFETY on some unsafe blocks from libcore/ptrcohenarthur-3/+43
2020-04-26remove Unique::from for shared pointer typesRalf Jung-17/+0
2020-04-25Bump bootstrap compilerMark Rousskov-2/+0
2020-04-23doc-example: Refactor pointer name to avoid confusioncohenarthur-4/+2
2020-04-22Inline some function docs re-exported in `std::ptr`Dylan MacKenzie-0/+3
2020-04-14ptr: add tracking issue for len() method on raw slicesMatthias Schiffer-4/+4
2020-04-14ptr: introduce len() method on raw slicesMatthias Schiffer-2/+50
2020-04-14ptr: implement "const_slice_ptr" and "mut_slice_ptr" lang itemsMatthias Schiffer-0/+8
2020-04-03Replace max/min_value() with MAX/MIN assoc constsLinus Färnstrand-4/+4
2020-03-14debug-assert ptr sanity in ptr::writeRalf Jung-3/+1
2020-03-06fix various typosMatthias Krüger-10/+10
2020-02-29Auto merge of #69208 - RalfJung:debug-assert, r=Mark-Simulacrumbors-1/+13
2020-02-27disable debug assertion in ptr::write for nowRalf Jung-1/+3
2020-02-16debug_assert a few more raw pointer methodsRalf Jung-1/+11
2020-02-16Improve #Safety of core::ptr::drop_in_placeAmos Onn-1/+4
2020-02-15Improve #Safety in various methods in core::ptrAmos Onn-0/+8
2020-02-15Improve #Safety of core::ptr::replaceAmos Onn-1/+1
2020-02-15Improve #Safety in various methods in core::ptrAmos Onn-2/+2
2020-02-03Optimize core::ptr::align_offsetAmos Onn-2/+1
2020-02-03Optimize core::ptr::align_offsetAmos Onn-13/+20
2020-02-03Optimize core::ptr::align_offsetAmos Onn-2/+2
2020-01-28Auto merge of #68234 - CAD97:slice-from-raw-parts, r=KodrAusbors-6/+5
2020-01-18get rid of real_drop_in_place againRalf Jung-12/+2
2020-01-15Fix incorrect slice->ptr conversion in slice_from_raw_parts docsCAD97-1/+1
2020-01-14Stabilize ptr::slice_from_raw_parts[_mut]CAD97-6/+5
2020-01-09doc: add Null-unchecked version section to mut pointer as_mut methodTrevor Spiteri-0/+14
2019-12-27Clean up const-hack from #63810jumbatm-4/+1