diff options
| author | Sean Griffin <sean@seantheprogrammer.com> | 2015-12-02 15:01:58 -0700 |
|---|---|---|
| committer | Sean Griffin <sean@seantheprogrammer.com> | 2015-12-02 15:01:58 -0700 |
| commit | a59cd363cc77bbfb7ba95fb7a063577436fd533a (patch) | |
| tree | 7e57816bab4bde9b0f59c876bd1fe762d066e12a /src/libstd/time | |
| parent | a69bcd885b5cf18ba05e0f81c091d3132534115c (diff) | |
| download | rust-a59cd363cc77bbfb7ba95fb7a063577436fd533a.tar.gz rust-a59cd363cc77bbfb7ba95fb7a063577436fd533a.zip | |
Fixed make tidy error
Diffstat (limited to 'src/libstd/time')
| -rw-r--r-- | src/libstd/time/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/time/mod.rs b/src/libstd/time/mod.rs index 1781461e3e3..b7509cd3800 100644 --- a/src/libstd/time/mod.rs +++ b/src/libstd/time/mod.rs @@ -305,7 +305,8 @@ mod tests { assert_almost_eq!(a - (eighty_years * 10) + (eighty_years * 10), a); let one_second_from_epoch = UNIX_EPOCH + Duration::new(1, 0); - let one_second_from_epoch2 = UNIX_EPOCH + Duration::new(0, 999_999_999) + Duration::new(0, 1); + let one_second_from_epoch2 = UNIX_EPOCH + Duration::new(0, 999_999_999) + + Duration::new(0, 1); assert_eq!(one_second_from_epoch, one_second_from_epoch2); } |
