mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-03 17:35:28 +03:00
ba405a47bd
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?