From c11281f1888428551ddf9c60d0030deb63be4b78 Mon Sep 17 00:00:00 2001 From: Artyom Pavlov Date: Wed, 12 Sep 2018 18:33:48 +0300 Subject: [PATCH] fix tests --- src/libcore/time.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libcore/time.rs b/src/libcore/time.rs index 71eb00781f0..cddc12ff581 100644 --- a/src/libcore/time.rs +++ b/src/libcore/time.rs @@ -464,7 +464,7 @@ impl Duration { /// /// # Examples /// ``` - /// #![feature(exact_chunks)] + /// #![feature(duration_float_ops)] /// use std::time::Duration; /// /// let dur = Duration::new(2, 700_000_000); @@ -498,7 +498,7 @@ impl Duration { /// /// # Examples /// ``` - /// #![feature(exact_chunks)] + /// #![feature(duration_float_ops)] /// use std::time::Duration; /// /// let dur = Duration::new(2, 700_000_000); @@ -533,7 +533,7 @@ impl Duration { /// /// # Examples /// ``` - /// #![feature(exact_chunks)] + /// #![feature(duration_float_ops)] /// use std::time::Duration; /// /// let dur1 = Duration::new(2, 700_000_000);