Fix Duration::weeks docs
The docs for `std::duration::Duration::weeks` were formatted incorrectly.
This commit is contained in:
parent
fed12499e7
commit
4486d78b93
@ -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")]
|
||||
|
Loading…
Reference in New Issue
Block a user