summary refs log tree commit diff
path: root/library/core/src
AgeCommit message (Expand)AuthorLines
2022-04-03Auto merge of #95619 - bjorn3:inline_location_caller, r=scottmcmbors-0/+1
2022-04-03Rollup merge of #95618 - adamse:master, r=dtolnayDylan DPC-5/+8
2022-04-03Rollup merge of #95617 - saethlin:swap-test-invalidation, r=Dylan-DPCDylan DPC-2/+3
2022-04-03Fix &mut invalidation in ptr::swap doctestBen Kimock-2/+3
2022-04-03Auto merge of #95610 - createyourpersonalaccount:derefmut-docfix, r=Dylan-DPCbors-1/+1
2022-04-03Mark Location::caller() as #[inline]bjorn3-0/+1
2022-04-03core: document that the align_of* functions return the alignment in bytesAdam Sandberg Ericsson-5/+8
2022-04-03Auto merge of #92686 - saethlin:unsafe-debug-asserts, r=Amanieubors-122/+117
2022-04-03Improve doc example of DerefMutNikolaos Chatzikonstantinou-1/+1
2022-04-02make memcmp return a value of c_int_width instead of i32David Morrison-2/+5
2022-04-02Rollup merge of #95556 - declanvk:nonnull-provenance, r=dtolnayDylan DPC-0/+48
2022-04-02Rollup merge of #95354 - dtolnay:rustc_const_stable, r=lcnrDylan DPC-35/+34
2022-04-01Implement provenance preserving method on NonNullDeclan Kelly-0/+48
2022-03-31add notes about alignment-altering reallocs to Allocator docsAutumn-0/+6
2022-03-31Fix feature name of stable parts of strict_provenanceDavid Tolnay-2/+2
2022-03-31Adjust MaybeUninit feature names to avoid changing unstable oneDavid Tolnay-5/+5
2022-03-31Adjust feature names that disagree on const stabilization versionDavid Tolnay-34/+33
2022-03-31Rollup merge of #95520 - rust-lang:ptrtypo, r=lcnrDylan DPC-4/+4
2022-03-31Rollup merge of #95384 - ehuss:doc-target_has_atomic-stabilized, r=Dylan-DPCDylan DPC-3/+4
2022-03-31Fix typos in core::ptr docsbstrie-4/+4
2022-03-30Auto merge of #94963 - lcnr:inherent-impls-std, r=oli-obk,m-ou-sebors-28/+29
2022-03-30remove now unnecessary lang itemslcnr-28/+28
2022-03-30rework implementation for inherent impls for builtin typeslcnr-0/+1
2022-03-29clarify that WASM has address spacesAria Beingessner-1/+1
2022-03-29fix doc linkAria Beingessner-1/+1
2022-03-29refine the definition of temporal provenanceAria Beingessner-1/+1
2022-03-29mark FIXMES for all the places found that are probably offset_fromAria Beingessner-0/+2
2022-03-29more review fixes to ptr docsAria Beingessner-11/+19
2022-03-29Add even more details to top-level pointer docsAria Beingessner-4/+20
2022-03-29cleanup some of the less terrifying library codeAria Beingessner-4/+4
2022-03-29clean up pointer docsAria Beingessner-37/+84
2022-03-29revert changes that cast functions to raw pointers, portability hazardAria Beingessner-2/+2
2022-03-29Make the stdlib largely conform to strict provenance.Aria Beingessner-18/+22
2022-03-29Introduce experimental APIs for conforming to "strict provenance".Aria Beingessner-10/+400
2022-03-29Add debug assertions to some unsafe functionsBen Kimock-122/+117
2022-03-28Auto merge of #95249 - HeroicKatora:set-ptr-value, r=dtolnaybors-82/+88
2022-03-28Inline u8::is_utf8_char_boundaryKonrad Borowski-0/+1
2022-03-28Rollup merge of #88375 - joshlf:patch-3, r=dtolnayDylan DPC-5/+6
2022-03-27Update target_has_atomic documentation for stabilizationEric Huss-3/+4
2022-03-27Debug print char 0 as '\0' rather than '\u{0}'David Tolnay-0/+1
2022-03-26Bump const_ptr_offset stabilization to 1.61David Tolnay-17/+17
2022-03-23Refactor set_ptr_value as with_metadata_ofAndreas Molzer-82/+88
2022-03-11Rollup merge of #94842 - tspiteri:there-is-no-try, r=Dylan-DPCDylan DPC-3/+6
2022-03-11Rollup merge of #94776 - martingms:optimize-escape-default, r=nnethercoteDylan DPC-8/+6
2022-03-11remove unnecessary try_opt for operations that cannot failTrevor Spiteri-3/+6
2022-03-11Rollup merge of #94765 - m-ou-se:is-some-and, r=Dylan-DPCDylan DPC-15/+15
2022-03-11Rollup merge of #93293 - nvzqz:nonzero-min-max, r=joshtriplettDylan DPC-0/+101
2022-03-10Move note about 0 gap to signed integersNikolai Vazquez-8/+8
2022-03-10Rollup merge of #94790 - RalfJung:portable-simd-miri, r=Dylan-DPCDylan DPC-5/+0
2022-03-10Rollup merge of #93950 - T-O-R-U-S:use-modern-formatting-for-format!-macros, ...Dylan DPC-149/+149