about summary refs log tree commit diff
diff options
context:
space:
mode:
authorArtyom Pavlov <newpavlov@gmail.com>2018-09-12 18:33:48 +0300
committerGitHub <noreply@github.com>2018-09-12 18:33:48 +0300
commitc11281f1888428551ddf9c60d0030deb63be4b78 (patch)
treea5ee593993e3e44f4285df753004c219376bcb30
parent533c0f0d1f0501dbd0ca76fd4231660835d9e83b (diff)
downloadrust-c11281f1888428551ddf9c60d0030deb63be4b78.tar.gz
rust-c11281f1888428551ddf9c60d0030deb63be4b78.zip
fix tests
-rw-r--r--src/libcore/time.rs6
1 files 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);