cargo fmt

This commit is contained in:
Robin Müller 2023-01-22 16:57:41 +01:00
parent 51d0a08e7b
commit 493a09e1a6
No known key found for this signature in database
GPG Key ID: BE6480244DFE612C

View File

@ -382,7 +382,12 @@ fn get_new_stamp_after_addition(
new_subsec_millis -= 1000;
increment_seconds(1);
}
increment_seconds(duration.as_secs().try_into().expect("duration seconds exceeds u32::MAX"));
increment_seconds(
duration
.as_secs()
.try_into()
.expect("duration seconds exceeds u32::MAX"),
);
UnixTimestamp::const_new(new_unix_seconds, new_subsec_millis)
}