rust/library/core
Yuki Okushi 1e14d397db
Rollup merge of #82179 - mbartlett21:patch-5, r=joshtriplett
Add functions `Duration::try_from_secs_{f32, f64}`

These functions allow constructing a Duration from a floating point value that could be out of range without panicking.

Tracking issue: #83400
2021-06-15 17:40:03 +09:00
..
benches move core::hint::black_box under its own feature gate 2021-04-25 11:08:12 +02:00
src Rollup merge of #82179 - mbartlett21:patch-5, r=joshtriplett 2021-06-15 17:40:03 +09:00
tests Auto merge of #85630 - gilescope:to_digit_speedup3, r=nagisa 2021-06-10 23:14:11 +00:00
Cargo.toml Auto merge of #82271 - Aaron1011:debug-refcell, r=m-ou-se 2021-03-23 04:49:47 +00:00