cargo fmt
All checks were successful
Rust/spacepackets/pipeline/head This commit looks good

This commit is contained in:
Robin Müller 2023-01-14 17:46:58 +01:00
parent aa5c206c1c
commit ef5a4e2924
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC

View File

@ -170,7 +170,9 @@ impl ConversionFromNow {
));
}
SubmillisPrecision::Picoseconds(_) => {
prec = Some(SubmillisPrecision::Picoseconds((now.subsec_nanos() % 10_u32.pow(6)) * 1000));
prec = Some(SubmillisPrecision::Picoseconds(
(now.subsec_nanos() % 10_u32.pow(6)) * 1000,
));
}
_ => (),
}