rust/library/core
Mara Bos fb1502d570
Rollup merge of #84120 - workingjubilee:stabilize-duration-max, r=m-ou-se
Stabilize Duration::MAX

Following the suggested direction from https://github.com/rust-lang/rust/issues/76416#issuecomment-817278338, this PR proposes that `Duration::MAX` should have been part of the `duration_saturating_ops` feature flag all along, having been

0. heavily referenced by that feature flag
1. an odd duck next to most of `duration_constants`, as I expressed in https://github.com/rust-lang/rust/issues/57391#issuecomment-717681193
2. introduced in #76114 which added `duration_saturating_ops`

and accordingly should be folded into `duration_saturating_ops` and therefore stabilized.

r? `@m-ou-se`
2021-04-26 21:06:46 +02:00
..
benches move core::hint::black_box under its own feature gate 2021-04-25 11:08:12 +02:00
src Rollup merge of #84120 - workingjubilee:stabilize-duration-max, r=m-ou-se 2021-04-26 21:06:46 +02:00
tests Rollup merge of #84105 - WaffleLapkin:stabilize_array_from_ref, r=m-ou-se 2021-04-25 01:53:10 +09:00
Cargo.toml Auto merge of #82271 - Aaron1011:debug-refcell, r=m-ou-se 2021-03-23 04:49:47 +00:00