about summary refs log tree commit diff
path: root/library/core/src/mem/mod.rs
AgeCommit message (Expand)AuthorLines
2025-10-03add mem::conjure_zstJeremy Smart-0/+58
2025-07-29Rollup merge of #144236 - yoshuawuyts:drop-guard, r=Mark-SimulacrumStuart Cook-0/+4
2025-07-28Add `core::mem::DropGuard`Yosh-0/+4
2025-07-25Rollup merge of #143970 - SunkenPotato:update_mem_copy_docs, r=scottmcmMatthias Krüger-1/+1
2025-07-20Rollup merge of #143423 - hkBst:clippy-fix-1, r=workingjubileeGuillaume Gomez-1/+1
2025-07-15docs: update documentation of core::mem::copy to include const on the fn sign...SunkenPotato-1/+1
2025-07-08clippy fix: markdown indentation for indented items after line breakMarijn Schouten-1/+1
2025-07-07Remove support for dynamic allocasmejrs-1/+1
2025-06-30Stop backends from needing to support nullary intrinsicsOli Scherer-2/+2
2025-06-20Add diagnostic items for ClippySamuel Tardieu-0/+1
2025-06-14Rollup merge of #141811 - mejrs:bye_locals, r=compiler-errorsMatthias Krüger-2/+26
2025-06-13Unimplement unsized_localsmejrs-2/+26
2025-06-12intrinsics: rename min_align_of to align_ofRalf Jung-10/+5
2025-05-20make std::intrinsic functions actually be intrinsicsRalf Jung-0/+2
2025-03-16Rollup merge of #138323 - kpreid:offset-of-doc, r=Mark-Simulacrum许杰友 Jieyou Xu (Joe)-36/+48
2025-03-16Rollup merge of #138082 - thaliaarchi:slice-cfg-not-test, r=thomcc许杰友 Jieyou Xu (Joe)-6/+6
2025-03-12Allow more top-down inlining for single-BB calleesScott McMurray-2/+7
2025-03-10Move `offset_of_enum` documentation to unstable book; add `offset_of_slice`.Kevin Reid-17/+9
2025-03-10Expand and organize `offset_of!` documentation.Kevin Reid-21/+41
2025-03-06library: Use size_of from the prelude instead of importedThalia Archibald-29/+19
2025-03-06Remove #[cfg(not(test))] gates in coreThalia Archibald-6/+6
2025-01-08update version placeholdersPietro Albini-3/+3
2024-12-25rename typed_swap → typed_swap_nonoverlappingRalf Jung-1/+1
2024-12-25stabilize const_swapRalf Jung-1/+1
2024-12-15Asserts the maximum value that can be returned from `Vec::len`EFanZh-0/+11
2024-12-02stabilize const_{size,align}_of_valRalf Jung-4/+2
2024-10-31use semantic line breaklolbinarycat-2/+2
2024-10-31update offset_of! docs to reflect the stablization of nestingbinarycat-4/+2
2024-10-15update bootstrap configsJosh Stone-1/+0
2024-10-15replace placeholder versionJosh Stone-1/+1
2024-10-12library: Stabilize `const_replace`Jubilee Young-1/+2
2024-09-05update cfgsBoxy-1/+0
2024-08-31Update mod.rsAlcaro-1/+1
2024-08-27safe transmute: Rename `BikeshedIntrinsicFrom` to `TransmuteFrom`Jack Wrenn-1/+1
2024-08-09Polymorphize RawVecBen Kimock-0/+5
2024-07-29Stabilize offset_of_nestedGeorge Bateman-1/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-6/+1
2024-07-10size_of_val_raw: for length 0 this is safe to callRalf Jung-0/+8
2024-07-05Describe Sized requirements for mem::offset_ofNicholas Bishop-0/+14
2024-04-28Fix #124478 - offset_of! returns a temporaryGeorge Bateman-2/+2
2024-03-23Auto merge of #122582 - scottmcm:swap-intrinsic-v2, r=oli-obkbors-57/+3
2024-03-22`swap_simple` no longer needs to be a separate functionScott McMurray-32/+0
2024-03-19[doc]:fix error code exampleheisen-li-3/+3
2024-03-17Let codegen decide when to `mem::swap` with immediatesScott McMurray-25/+3
2024-02-08Step all bootstrap cfgs forwardMark Rousskov-10/+0
2024-02-08Bump version placeholdersMark Rousskov-2/+2
2024-01-20Auto merge of #111803 - scottmcm:simple-swap-alternative, r=Mark-Simulacrumbors-1/+1
2024-01-19Tweak the threshold for chunked swappingAngelicosPhosphoros-1/+1
2024-01-19Stabilize simple offset_ofGeorge Bateman-8/+6
2024-01-02Make offset_of field parsing use metavariable which handles any spacingGeorge Bateman-0/+10