diff options
| author | Artyom Pavlov <newpavlov@gmail.com> | 2019-07-30 16:41:03 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-30 16:41:03 +0000 |
| commit | 4281e6136df6886462e8da4e45877f6eeecd552a (patch) | |
| tree | 96fbe5f5469213a60a1e0b354284b5fb9de24b6c /src | |
| parent | 55ee8fe852d93ce7ac87a5fa36d371cf0f0b195d (diff) | |
| download | rust-4281e6136df6886462e8da4e45877f6eeecd552a.tar.gz rust-4281e6136df6886462e8da4e45877f6eeecd552a.zip | |
fix tests
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcore/time.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcore/time.rs b/src/libcore/time.rs index 6a5ba0afa42..5a0e4388e03 100644 --- a/src/libcore/time.rs +++ b/src/libcore/time.rs @@ -689,6 +689,7 @@ impl Duration { /// /// # Examples /// ``` + /// #![feature(div_duration)] /// use std::time::Duration; /// /// let dur1 = Duration::new(2, 700_000_000); @@ -705,6 +706,7 @@ impl Duration { /// /// # Examples /// ``` + /// #![feature(div_duration)] /// use std::time::Duration; /// /// let dur1 = Duration::new(2, 700_000_000); |
