mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-23 02:27:39 +03:00
Fixed make tidy error
This commit is contained in:
@@ -305,7 +305,8 @@ fn system_time_math() {
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user