diff options
| author | Romain Porte <microjoe@microjoe.org> | 2017-09-09 11:49:32 +0200 |
|---|---|---|
| committer | Romain Porte <microjoe@microjoe.org> | 2017-09-09 11:49:32 +0200 |
| commit | 2e6aed8f476f732cbc7f8d3bb21adb4b67fb688e (patch) | |
| tree | f53108ef1024e427b54010bada87ff40a25b0497 /src/libstd | |
| parent | 376837b999dc4a6ec271080957cd46b59bb5cc32 (diff) | |
| download | rust-2e6aed8f476f732cbc7f8d3bb21adb4b67fb688e.tar.gz rust-2e6aed8f476f732cbc7f8d3bb21adb4b67fb688e.zip | |
from_micros: Added unstable annotation
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/time/duration.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/time/duration.rs b/src/libstd/time/duration.rs index 43cc2b880f7..baa86bfa133 100644 --- a/src/libstd/time/duration.rs +++ b/src/libstd/time/duration.rs @@ -129,6 +129,7 @@ impl Duration { /// assert_eq!(1, duration.as_secs()); /// assert_eq!(2000, duration.subsec_nanos()); /// ``` + #[unstable(feature = "", issue = "")] #[inline] pub fn from_micros(micros: u64) -> Duration { let secs = micros / MICROS_PER_SEC; |
