summary refs log tree commit diff
path: root/library/core/src/ptr
AgeCommit message (Expand)AuthorLines
2023-05-29Swap out CURRENT_RUSTC_VERSION to 1.71.0Mark Rousskov-6/+6
2023-05-21drop_in_place docs: remove pseudocode-ish implementation detailsErik Desjardins-15/+1
2023-05-20improve drop_in_place docsErik Desjardins-4/+6
2023-05-20Add missing "unsafe" to fix doctestPatrick Walton-1/+1
2023-05-20Update documentation for `drop_in_place()`Patrick Walton-6/+24
2023-05-10Simplify the implementation of iterators over slices of ZSTsScott McMurray-0/+13
2023-05-05Stabilize const_ptr_readbors-6/+8
2023-05-05`assume` the runtime range of `align_offset`Scott McMurray-4/+10
2023-04-30Codegen fewer instructions in `mem::replace`Scott McMurray-9/+8
2023-04-28handle cfg(bootstrap)Pietro Albini-207/+36
2023-04-28replace version placeholdersPietro Albini-1/+1
2023-04-27Also use `mir::Offset` for pointer `add`Scott McMurray-3/+29
2023-04-26Rollup merge of #110419 - jsoref:spelling-library, r=jyn514Matthias Krüger-3/+3
2023-04-26Spelling library/Josh Soref-3/+3
2023-04-19Auto merge of #110393 - fee1-dead-contrib:rm-const-traits, r=oli-obkbors-34/+30
2023-04-17typoskadiwa-6/+6
2023-04-16core is now compilableDeadbeef-8/+8
2023-04-16more hacksDeadbeef-1/+6
2023-04-16rm const traits in libcoreDeadbeef-25/+16
2023-04-12Make rust-intrinsic ABI unwindableGary Guo-0/+1
2023-03-28Auto merge of #108080 - oli-obk:FnPtr-trait, r=lcnrbors-106/+161
2023-03-27Use the FnPtr trait to avoid implementing common traits via macrosOli Scherer-106/+161
2023-03-27Rollup merge of #97506 - JohnTitor:stabilize-nonnull-slice-from-raw-parts, r=...Matthias Krüger-8/+5
2023-03-14Improved implementation and comments after code review feedbackScott McMurray-3/+5
2023-03-12Add a better approach comment in `ptr::read` to justify the intrinsicScott McMurray-11/+32
2023-03-11`MaybeUninit::assume_init_read` should have `noundef` load metadataScott McMurray-6/+14
2023-03-10Rollup merge of #108964 - majaha:ptr_metadata_doc, r=workingjubileeMatthias Krüger-4/+4
2023-03-10Fix docs for ptr method with_metadata_of()Matt Harding-4/+4
2023-03-09Make ptr::from_ref and ptr::from_mut in #106116 const.Raekye-2/+2
2023-03-03Match unmatched backticks in library/est31-1/+1
2023-02-14"Basic usage" is redundant for there is just one exampleTshepang Mbambo-42/+0
2023-01-23`sub_ptr()` is equivalent to `usize::try_from().unwrap_unchecked()`, not `usi...Chayim Refael Friedman-2/+2
2023-01-18Rollup merge of #103702 - WaffleLapkin:lift-sized-bounds-from-pointer-methods...Dylan DPC-48/+15
2023-01-14Remove various double spaces in source comments.André Vennberg-1/+1
2022-12-30Use some more `const_eval_select` in pointer methods for compile timesNilstrieb-22/+66
2022-12-28Update bootstrap cfgPietro Albini-73/+17
2022-12-24Auto merge of #104977 - RalfJung:ptr-from-ref, r=dtolnaybors-15/+37
2022-12-24add tracking issue, fix typoRalf Jung-3/+3
2022-12-19Update coerce_unsized tracking issue from #27732 to #18598Anders Kaseorg-1/+1
2022-12-09Make `<*{const,mut} T>::{,wrapping_}sub` methods `#[inline(always)]`Eduardo Sánchez Muñoz-4/+4
2022-12-09Auto merge of #105262 - eduardosm:more-inline-always, r=thomccbors-12/+18
2022-12-08lib docs: fix typoRalf Jung-1/+1
2022-12-07Make some trivial functions `#[inline(always)]`Eduardo Sánchez Muñoz-12/+18
2022-11-27add ptr::from_{ref,mut}Ralf Jung-15/+37
2022-11-22disable strict-provenance-violating doctests in MiriRalf Jung-0/+8
2022-11-22Rollup merge of #102207 - CraftSpider:const-layout, r=scottmcmManish Goregaokar-7/+17
2022-11-21Rustc_deprecated attribute superseded by deprecatedDavid Tolnay-8/+8
2022-11-21Bump ptr_to_from_bits deprecation to Rust 1.67David Tolnay-4/+4
2022-11-20Fix issue numberRune Tynan-1/+1
2022-11-20Update with derive_constRune Tynan-12/+11