mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-30 06:25:30 +00:00
core: add Duration constructors Add more `Duration` constructors. Tracking issue: #120301. These match similar convenience constructors available on both `chrono::Duration` and `time::Duration`. What's the best ordering for these with respect to the existing constructors?