fix tests

This commit is contained in:
Artyom Pavlov 2018-09-12 18:33:48 +03:00 committed by GitHub
parent 533c0f0d1f
commit c11281f188
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);