Issue number should be for tracking issue not PR

This commit is contained in:
Jonathan Behrens 2018-04-24 15:17:06 -04:00 committed by GitHub
parent b66ab1ad61
commit 799eda4128
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -274,7 +274,7 @@ impl Duration {
/// let duration = Duration::new(5, 730023852);
/// assert_eq!(duration.as_nanos(), 5730023852);
/// ```
#[unstable(feature = "duration_nanos", issue = "50167")]
#[unstable(feature = "duration_nanos", issue = "50202")]
#[inline]
pub fn as_nanos(&self) -> u128 {
self.secs as u128 * NANOS_PER_SEC as u128 + self.nanos as u128