mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-04 02:54:00 +00:00
1e14d397db
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 |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |