cargo fmt
This commit is contained in:
parent
51d0a08e7b
commit
493a09e1a6
@ -382,7 +382,12 @@ fn get_new_stamp_after_addition(
|
|||||||
new_subsec_millis -= 1000;
|
new_subsec_millis -= 1000;
|
||||||
increment_seconds(1);
|
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)
|
UnixTimestamp::const_new(new_unix_seconds, new_subsec_millis)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user