From 83e2cad75377969b1e74379acff2c0dcf858d4cf Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Wed, 21 Dec 2022 09:47:09 +0100 Subject: [PATCH] cargo fmt --- src/time/cuc.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/time/cuc.rs b/src/time/cuc.rs index bae59dc..438293b 100644 --- a/src/time/cuc.rs +++ b/src/time/cuc.rs @@ -927,7 +927,9 @@ mod tests { #[test] fn assert_largest_fractions() { - let fractions = fractional_part_from_subsec_ns(FractionalResolution::SixtyNs, 10u64.pow(9) - 1).unwrap(); + let fractions = + fractional_part_from_subsec_ns(FractionalResolution::SixtyNs, 10u64.pow(9) - 1) + .unwrap(); // The value can not be larger than representable by 3 bytes // Assert that the maximum resolution can be reached assert_eq!(fractions.1, 2_u32.pow(3 * 8) - 2);