diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-05 02:20:53 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-05 12:39:06 +0530 |
| commit | acd9554fd65f25ff2922229a51ce3dce5ebf6f2e (patch) | |
| tree | 67d648030ec2c7141cd87b1eda84a6f7c0690f9e /src/libstd | |
| parent | 4c2bd63d17276110db690cfe4535d44527a46547 (diff) | |
| parent | 4486d78b933c220c1425687b12e0f9c17639d192 (diff) | |
| download | rust-acd9554fd65f25ff2922229a51ce3dce5ebf6f2e.tar.gz rust-acd9554fd65f25ff2922229a51ce3dce5ebf6f2e.zip | |
Rollup merge of #23027 - fenhl:patch-1, r=sfackler
The docs for `std::time::duration::Duration::weeks` were formatted incorrectly.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/time/duration.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/time/duration.rs b/src/libstd/time/duration.rs index 42ef3459a0e..958417d864c 100644 --- a/src/libstd/time/duration.rs +++ b/src/libstd/time/duration.rs @@ -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")] |
