Tracking Issue for Duration::from_nanos_u128
· Issue #139201 · rust-lang/rust (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Description
Feature gate: #![feature(duration_from_nanos_u128)]
This is a tracking issue for Duration::from_nanos_u128
. See the ACP at rust-lang/libs-team#567.
Public API
// std::time
impl Duration { /// Creates a new Duration from the specified number of nanoseconds. /// /// # Panics /// /// Panics if the given number of nanoseconds overflows the Duration size. pub fn from_nanos_u128(nanos: u128) -> Duration; }
Steps / History
- Implementation: #...
- Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- Is this the best name we can come up with?