diff options
| author | Thayne McCombs <astrothayne@gmail.com> | 2018-05-28 18:24:01 -0600 |
|---|---|---|
| committer | Thayne McCombs <astrothayne@gmail.com> | 2018-05-28 18:24:01 -0600 |
| commit | 855ec8b6d54463e8d13676d325d828d30b2737f6 (patch) | |
| tree | 8b73d93c1b7c26d11e9c7380bf34b20cf08b16b7 /src/libstd | |
| parent | 5bf68db6ecda0dd4788311a41b5c763d35597c96 (diff) | |
| download | rust-855ec8b6d54463e8d13676d325d828d30b2737f6.tar.gz rust-855ec8b6d54463e8d13676d325d828d30b2737f6.zip | |
Stabilize SystemTime::UNIX_EPOCH
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/time.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstd/time.rs b/src/libstd/time.rs index 1215302757c..90ab3491599 100644 --- a/src/libstd/time.rs +++ b/src/libstd/time.rs @@ -271,7 +271,6 @@ impl SystemTime { /// # Examples /// /// ```no_run - /// #![feature(assoc_unix_epoch)] /// use std::time::SystemTime; /// /// match SystemTime::now().duration_since(SystemTime::UNIX_EPOCH) { @@ -279,7 +278,7 @@ impl SystemTime { /// Err(_) => panic!("SystemTime before UNIX EPOCH!"), /// } /// ``` - #[unstable(feature = "assoc_unix_epoch", issue = "49502")] + #[stable(feature = "assoc_unix_epoch", since = "1.28.0")] pub const UNIX_EPOCH: SystemTime = UNIX_EPOCH; /// Returns the system time corresponding to "now". |
