Skip to content

Commit acd9554

Browse files
committed
Rollup merge of #23027 - fenhl:patch-1, r=sfackler
The docs for `std::time::duration::Duration::weeks` were formatted incorrectly.
2 parents 4c2bd63 + 4486d78 commit acd9554

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/time/duration.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ pub const MAX: Duration = Duration {
6868

6969
impl Duration {
7070
/// Makes a new `Duration` with given number of weeks.
71-
/// Equivalent to `Duration::seconds(weeks * 7 * 24 * 60 * 60), with overflow checks.
71+
/// Equivalent to `Duration::seconds(weeks * 7 * 24 * 60 * 60)` with overflow checks.
7272
/// Panics when the duration is out of bounds.
7373
#[inline]
7474
#[unstable(feature = "std_misc")]

0 commit comments

Comments
 (0)