about summary refs log tree commit diff
path: root/library/core/src
AgeCommit message (Expand)AuthorLines
2023-08-14make Cell::swap panic if the Cells partially overlapRalf Jung-2/+15
2023-08-14clarify safety documentation of ptr::swap and ptr::copyRalf Jung-0/+6
2023-08-14Implement Step for AsciiCharltdk-1/+44
2023-08-13core/any: remove Provider traitwayne warren-665/+657
2023-08-13Rollup merge of #94667 - frank-king:feature/iter_map_windows, r=Mark-SimulacrumGuillaume Gomez-1/+458
2023-08-12Partially stabilize #![feature(int_roundings)]Jacob Pratt-6/+6
2023-08-11Auto merge of #114720 - scottmcm:better-sub, r=workingjubileebors-5/+24
2023-08-10Tell LLVM that the negation in `<*const T>::sub` cannot overflowScott McMurray-5/+24
2023-08-10Optimized implementations of max, min, and clamp for booldanflapjax-0/+16
2023-08-11Add Iterator::map_windowsFrank King-1/+458
2023-08-09Suggest using `Arc` on `!Send`/`!Sync` typesEsteban Kuber-2/+8
2023-08-08Rename copying `ascii::Char` methods from `as_` to `to_`Alyssa Haroldsen-4/+4
2023-08-07core: Remove #[macro_export] from `debug_assert_matches`Arthur Cohen-1/+0
2023-08-07Rollup merge of #114382 - scottmcm:compare-bytes-intrinsic, r=cjgillotMatthias Krüger-15/+40
2023-08-07Rollup merge of #98935 - kellerkindt:option_retain, r=Mark-SimulacrumMatthias Krüger-0/+35
2023-08-06Add a new `compare_bytes` intrinsic instead of calling `memcmp` directlyScott McMurray-15/+40
2023-08-06Remove ptr_from_mut diagnostic itemest31-1/+0
2023-08-06Add #[rustc_never_returns_null_ptr] to std functionsest31-0/+16
2023-08-05Auto merge of #111200 - a1phyr:spec_sized_iterators, r=the8472bors-0/+130
2023-08-05Rollup merge of #114029 - Enselic:clone-doc, r=scottmcmMatthias Krüger-0/+40
2023-08-04document our assumptions about symbols provided by the libcRalf Jung-5/+9
2023-08-03Auto merge of #108955 - Nilstrieb:dont-use-me-pls, r=oli-obkbors-0/+4
2023-08-03Rollup merge of #113657 - Urgau:expand-incorrect_fn_null_check-lint, r=cjgillotMatthias Krüger-0/+2
2023-08-03Add `internal_features` lintNilstrieb-0/+4
2023-08-03Implement Option::take_ifMichael Watzko-0/+35
2023-08-03Auto merge of #113220 - tgross35:cstr-bytes-docs, r=workingjubileebors-6/+7
2023-08-02Document soundness of Integer -> Pointer -> Integer conversions in ` const` c...onestacked-1/+4
2023-08-02Auto merge of #112431 - Urgau:cast_ref_to_mut_improvments, r=Nilstriebbors-1/+2
2023-08-02Clarify documentation for `CStr`Trevor Gross-6/+7
2023-08-01Add diagnostic items for `<*const _>::cast` and `ptr::from_mut`Urgau-0/+2
2023-08-01Auto merge of #112849 - m-ou-se:panic-message-format, r=thomccbors-6/+10
2023-08-01Rollup merge of #111081 - mattfbacon:master, r=workingjubileeMatthias Krüger-4/+56
2023-07-31Rollup merge of #109318 - joboet:better_fmt_placeholder, r=dtolnayMatthias Krüger-18/+10
2023-07-31I'm mathematically challengedltdk-2/+2
2023-07-31Work around missing <*str>::lenMatt Fellenz-4/+4
2023-07-31impl SliceIndex<str> for (Bound<usize>, Bound<usize>)Matt Fellenz-4/+56
2023-07-31Can't compare usize and u32ltdk-2/+2
2023-07-31Use u32::from for MIN/MAX examplesltdk-2/+2
2023-07-31Add note on gap for MIN/MAXltdk-0/+35
2023-07-31Add char::MINltdk-0/+15
2023-07-30Rollup merge of #102198 - lukas-code:nonnull_as_ref, r=AmanieuMatthias Krüger-2/+3
2023-07-30Explain more clearly why `fn() -> T` can't be `#[derive(Clone)]`Martin Nordholts-0/+40
2023-07-30Rollup merge of #112655 - WaffleLapkin:must_use_map_or, r=workingjubileeMatthias Krüger-0/+2
2023-07-30Mark `map_or` as `#[must_use]`Maybe Waffle-0/+2
2023-07-30Fix implementation of `Duration::checked_div`Jacob Pratt-4/+4
2023-07-30Rollup merge of #113512 - vallentin:lines-doc, r=workingjubileefee1-dead-3/+8
2023-07-29Adjust some tests for invalid_reference_casting improvementsUrgau-1/+2
2023-07-29Change default panic handler message format.Mara Bos-6/+10
2023-07-29Auto merge of #113099 - bvanjoi:fix-112713-2, r=petrochenkovbors-1/+2
2023-07-29library: allow `ambiguous_glob_reexports` for `core_arch`bohan-1/+2