rust/library/core/src
Dylan DPC fb3d126458
Rollup merge of #94842 - tspiteri:there-is-no-try, r=Dylan-DPC
Remove unnecessary try_opt for operations that cannot fail

As indicated in the added comments, some operation cannot overflow, so using `try_opt!` for them is unnecessary.
2022-03-11 13:38:39 +01:00
..
alloc Fix a bunch of typos 2021-12-14 16:40:43 +01:00
array Rollup merge of #94657 - fee1-dead:const_slice_index, r=oli-obk 2022-03-10 12:20:52 +01:00
async_iter Move {core,std}::stream::Stream to {core,std}::async_iter::AsyncIterator. 2022-02-03 21:03:06 +08:00
char Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
convert Rollup merge of #92541 - asquared31415:from-docs, r=m-ou-se 2022-03-09 23:14:10 +01:00
ffi merge the char signess list of archs with freebsd as it is the same 2022-03-02 12:12:28 +00:00
fmt Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
future Rollup merge of #91192 - r00ster91:futuredocs, r=GuillaumeGomez 2022-02-21 19:36:46 +01:00
hash change PhantomData type for BuildHasherDefault 2022-01-07 00:39:48 +01:00
iter Rollup merge of #93950 - T-O-R-U-S:use-modern-formatting-for-format!-macros, r=Mark-Simulacrum 2022-03-10 23:12:57 +01:00
macros Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
mem Add #![allow(unexpected_cfgs)] in preparation of global --check-cfg 2022-03-04 11:34:51 +01:00
num remove unnecessary try_opt for operations that cannot fail 2022-03-11 11:07:45 +01:00
ops Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
panic Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
prelude update cfg(bootstrap)s 2022-01-28 15:01:07 +01:00
ptr Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
slice Rollup merge of #94790 - RalfJung:portable-simd-miri, r=Dylan-DPC 2022-03-10 23:13:01 +01:00
str Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
sync Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
task Rollup merge of #89869 - kpreid:from-doc, r=yaahc 2022-02-17 06:29:57 +01:00
unicode Regenerate tables for Unicode 14.0.0 2021-10-06 17:49:33 -07:00
any.rs Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
ascii.rs Inline <EscapeDefault as Iterator>::next 2022-03-10 15:35:22 +01:00
bool.rs Constify bool::then{,_some} 2021-12-15 00:11:23 +08:00
borrow.rs Make Borrow and BorrowMut impls const 2021-12-04 21:57:39 +09:00
cell.rs Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
clone.rs Make some Clone impls const 2021-12-12 04:19:23 +09:00
cmp.rs Edit docs on consistency of PartialOrd and PartialEq 2022-03-04 13:31:32 -06:00
default.rs Add #[must_use] to remaining core functions 2021-10-30 18:21:29 -04:00
hint.rs Add core::hint::must_use 2022-03-08 10:58:03 -08:00
internal_macros.rs Add a copy of cfg_if to core's internal_macros.rs 2022-03-01 16:24:10 -08:00
intrinsics.rs Switch bootstrap cfgs 2022-02-25 08:00:52 -05:00
lazy.rs Rollup merge of #89869 - kpreid:from-doc, r=yaahc 2022-02-17 06:29:57 +01:00
lib.rs Rollup merge of #94790 - RalfJung:portable-simd-miri, r=Dylan-DPC 2022-03-10 23:13:01 +01:00
marker.rs Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
option.rs Rollup merge of #94765 - m-ou-se:is-some-and, r=Dylan-DPC 2022-03-11 03:32:04 +01:00
panic.rs Fix invalid special casing of the unreachable! macro 2022-01-31 17:09:31 +01:00
panicking.rs Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
pin.rs fix pin doc typo 2022-03-06 21:40:30 +08:00
primitive.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
primitive_docs.rs Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
result.rs Rollup merge of #94765 - m-ou-se:is-some-and, r=Dylan-DPC 2022-03-11 03:32:04 +01:00
time.rs Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
tuple.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
unit.rs Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00