From 6598bfe8bca8de50032a2ba417a35298d1bd9051 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Thu, 21 May 2020 21:16:51 +0200 Subject: [PATCH] remove pointless rustc_const_stable attribute --- src/libcore/time.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libcore/time.rs b/src/libcore/time.rs index ed1d5d46db5c4..28ba9d32e834a 100644 --- a/src/libcore/time.rs +++ b/src/libcore/time.rs @@ -130,7 +130,6 @@ impl Duration { /// ``` #[stable(feature = "duration", since = "1.3.0")] #[inline] - #[rustc_const_stable(feature = "duration_consts", since = "1.32.0")] pub fn new(secs: u64, nanos: u32) -> Duration { let secs = secs.checked_add((nanos / NANOS_PER_SEC) as u64).expect("overflow in Duration::new");