about summary refs log tree commit diff
path: root/src/libcore/ptr
AgeCommit message (Expand)AuthorLines
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
2019-12-22Format the worldMark Rousskov-88/+108
2019-12-22Rollup merge of #67480 - rossmacarthur:fix-41260-avoid-issue-0-part-2, r=CentrilMazdak Farrokhzad-17/+17
2019-12-21Rollup merge of #67462 - DutchGhost:const_slice_from_raw_parts, r=dtolnayMazdak Farrokhzad-2/+4
2019-12-21Require issue = "none" over issue = "0" in unstable attributesRoss MacArthur-17/+17
2019-12-20Make ptr::slice_from_raw_parts a const fn available under a feature flagDodo-2/+4
2019-12-19Split up ptr/mod.rs in libcore, one with implementation detail for const ptr ...Christoph Schmidler-1691/+1685
2019-12-18Propagate cfg bootstrapMark Rousskov-30/+10
2019-12-13Require stable/unstable annotations for the constness of all stable functions...Oliver Scherer-2/+30
2019-12-06Format libcore with rustfmt (including tests and benches)David Tolnay-91/+143
2019-12-06Suppress libcore/ptr/mod.rs filelength lintDavid Tolnay-0/+1
2019-11-29Rollup merge of #66379 - CreepySkeleton:patch-1, r=RalfJungRalf Jung-14/+24
2019-11-27Use intra-doc linksCreepySkeleton-2/+2
2019-11-27Elaborate on std::ptr::{as_ref,as_mod} and clarify docsCreepySkeleton-14/+24
2019-11-26Format libcore with rustfmtDavid Tolnay-30/+23
2019-11-12Snap cfgsMark Rousskov-16/+0
2019-11-07Rollup merge of #63793 - oli-obk:🧹, r=dtolnayMazdak Farrokhzad-0/+6
2019-11-06Have tidy ensure that we document all `unsafe` blocks in libcoreOliver Scherer-0/+6
2019-11-05Apply suggestions from code reviewRalf Jung-2/+2
2019-11-05expand slice from_raw_part docsRalf Jung-0/+4
2019-11-05link from raw slice creation methods to safety requirementsRalf Jung-5/+14