Rollup merge of #23027 - fenhl:patch-1, r=sfackler

The docs for `std::time::duration::Duration::weeks` were formatted incorrectly.
This commit is contained in:
Manish Goregaokar 2015-03-05 02:20:53 +05:30
commit acd9554fd6

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