Skip to content

Commit b66ab1a

Browse files
committed
Doctest of feature requires that feature
1 parent dc9e27d commit b66ab1a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libcore/time.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ impl Duration {
268268
/// # Examples
269269
///
270270
/// ```
271+
/// # #![feature(duration_nanos)]
271272
/// use std::time::Duration;
272273
///
273274
/// let duration = Duration::new(5, 730023852);

0 commit comments

Comments
 (0)