We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a69bcd8 commit a59cd36Copy full SHA for a59cd36
src/libstd/time/mod.rs
@@ -305,7 +305,8 @@ mod tests {
305
assert_almost_eq!(a - (eighty_years * 10) + (eighty_years * 10), a);
306
307
let one_second_from_epoch = UNIX_EPOCH + Duration::new(1, 0);
308
- 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)
309
+ + Duration::new(0, 1);
310
assert_eq!(one_second_from_epoch, one_second_from_epoch2);
311
}
312
0 commit comments