From 4486d78b933c220c1425687b12e0f9c17639d192 Mon Sep 17 00:00:00 2001 From: Fenhl Date: Wed, 4 Mar 2015 12:16:37 +0000 Subject: [PATCH] Fix Duration::weeks docs The docs for `std::duration::Duration::weeks` were formatted incorrectly. --- src/libstd/time/duration.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstd/time/duration.rs b/src/libstd/time/duration.rs index 42ef3459a0ed7..958417d864c1f 100644 --- a/src/libstd/time/duration.rs +++ b/src/libstd/time/duration.rs @@ -68,7 +68,7 @@ pub const MAX: Duration = Duration { impl Duration { /// Makes a new `Duration` with given number of weeks. - /// Equivalent to `Duration::seconds(weeks * 7 * 24 * 60 * 60), with overflow checks. + /// Equivalent to `Duration::seconds(weeks * 7 * 24 * 60 * 60)` with overflow checks. /// Panics when the duration is out of bounds. #[inline] #[unstable(feature = "std_misc")]