Skip to content

Commit 2e6aed8

Browse files
committed
from_micros: Added unstable annotation
1 parent 376837b commit 2e6aed8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libstd/time/duration.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ impl Duration {
129129
/// assert_eq!(1, duration.as_secs());
130130
/// assert_eq!(2000, duration.subsec_nanos());
131131
/// ```
132+
#[unstable(feature = "", issue = "")]
132133
#[inline]
133134
pub fn from_micros(micros: u64) -> Duration {
134135
let secs = micros / MICROS_PER_SEC;

0 commit comments

Comments
 (0)