core: add Duration constructors by djc · Pull Request #120307 · rust-lang/rust
rustbot
added
S-waiting-on-review
labels
Jan 24, 2024
djc
mentioned this pull request
3 tasks
bors
added
S-waiting-on-bors
and removed S-waiting-on-review
Status: Awaiting review from the assignee but also interested parties.labels
Feb 11, 2024rust-timer added a commit to rust-lang-ci/rust that referenced this pull request
Feb 11, 2024Rollup merge of rust-lang#120307 - djc:duration-constructors, r=Mark-Simulacrum core: add Duration constructors Add more `Duration` constructors. Tracking issue: rust-lang#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?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters