Skip to content

Commit

Permalink
Fix Duration::weeks docs
Browse files Browse the repository at this point in the history
The docs for `std::duration::Duration::weeks` were formatted incorrectly.
  • Loading branch information
fenhl committed Mar 4, 2015
1 parent fed1249 commit 4486d78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/time/duration.rs
Expand Up @@ -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")]
Expand Down

0 comments on commit 4486d78

Please sign in to comment.