From 855ec8b6d54463e8d13676d325d828d30b2737f6 Mon Sep 17 00:00:00 2001 From: Thayne McCombs Date: Mon, 28 May 2018 18:24:01 -0600 Subject: [PATCH] Stabilize SystemTime::UNIX_EPOCH --- src/libstd/time.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libstd/time.rs b/src/libstd/time.rs index 1215302757c31..90ab349159915 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".