about summary refs log tree commit diff
path: root/src/libcore/ptr.rs
AgeCommit message (Expand)AuthorLines
2018-08-30fix exampleRalf Jung-2/+1
2018-08-30fix exampleRalf Jung-2/+3
2018-08-30improve volatile commentsRalf Jung-4/+4
2018-08-30address remaining remarks and add example for dropping unaligned dataRalf Jung-4/+32
2018-08-30apply commentsRalf Jung-12/+13
2018-08-30clarify ZST commentRalf Jung-10/+10
2018-08-29clarify that these are preliminary guaranteesRalf Jung-5/+4
2018-08-29edit docs a littleRalf Jung-24/+37
2018-08-29Resolve null/ZST conflict correctly (whoops)Dylan MacKenzie-4/+3
2018-08-29Add a list of known facts re: validityDylan MacKenzie-9/+26
2018-08-29You can't make an omlette without breaking a few linksDylan MacKenzie-1/+1
2018-08-29Incorporate RalfJung's suggestionsDylan MacKenzie-28/+38
2018-08-29Redefine range validityDylan MacKenzie-8/+6
2018-08-29Remove definiton of valid pointerDylan MacKenzie-7/+14
2018-08-29Fix off-by-one error when specifying a valid rangeDylan MacKenzie-2/+2
2018-08-29Reword module level docs re: alignmentDylan MacKenzie-4/+4
2018-08-29Update docs for `swap_nonoverlapping`Dylan MacKenzie-3/+19
2018-08-29Fix unused variable warning in doctestDylan MacKenzie-0/+1
2018-08-29Fix failing doctestsDylan MacKenzie-3/+3
2018-08-29Mention alignment in top-level docsDylan MacKenzie-5/+11
2018-08-29Rewrite docs for `std::ptr`Dylan MacKenzie-68/+351
2018-08-22Rollup merge of #53574 - vorner:ptr_as_ref_unchecked, r=Mark-SimulacrumGuillaume Gomez-0/+30
2018-08-21Suggest direct raw-pointer dereferenceMichal 'vorner' Vaner-0/+30
2018-08-21Rollup merge of #53329 - frewsxcv:frewsxcv-ptr-add-sub, r=RalfJungkennytm-8/+8
2018-08-20Replace usages of ptr::offset with ptr::{add,sub}.Corey Farwell-8/+8
2018-08-19Fix typos found by codespell.Matthias Krüger-1/+1
2018-08-12Rollup merge of #53059 - ljedrz:unneeded_returns, r=kennytmGuillaume Gomez-2/+2
2018-08-04Remove explicit returns where unnecessaryljedrz-2/+2
2018-08-03volatile operations docs: clarify that this does not help wrt. concurrencyRalf Jung-0/+30
2018-07-30Remove unstable and deprecated APIsSimon Sapin-80/+0
2018-07-27Fix doc comment for 'ptr::copy_to' methodZakarum-2/+2
2018-07-24clarify offset function safety concernsRalf Jung-4/+16
2018-07-23Rollup merge of #52051 - scottmcm:swap-directly, r=alexcrichtonkennytm-0/+13
2018-07-21Don't use SIMD in mem::swap for types smaller than the block sizeScott McMurray-0/+13
2018-07-18Document that Unique::empty() and NonNull::dangling() aren't sentinel valuesJosh Triplett-0/+10
2018-07-04Auto merge of #51395 - SimonSapin:repr-transparent, r=SimonSapinbors-0/+2
2018-06-30Bootstrap from 1.28.0-beta.3Mark Simulacrum-27/+0
2018-06-16Add #[repr(transparent)] to some libcore typesSimon Sapin-0/+2
2018-06-11Remove alloc::Opaque and use *mut u8 as pointer type for GlobalAllocMike Hommey-8/+0
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