Fix Duration::weeks docs

The docs for `std::duration::Duration::weeks` were formatted incorrectly.
This commit is contained in:
Fenhl 2015-03-04 12:16:37 +00:00
parent fed12499e7
commit 4486d78b93

View File

@ -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")]