Skip to content

Commit 65f9f8f

Browse files
committed
Fix some rustfmt issues
1 parent d9aa235 commit 65f9f8f

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/rounding.rs

+8-2
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,13 @@ impl RoundingMode {
172172
/// Calculation of pair of digits from full number, and the replacement of that number
173173
/// should be handled separately
174174
///
175-
pub fn round_u32(&self, at_digit: stdlib::num::NonZeroU8, sign: Sign, value: u32, trailing_zeros: bool) -> u32 {
175+
pub fn round_u32(
176+
&self,
177+
at_digit: stdlib::num::NonZeroU8,
178+
sign: Sign,
179+
value: u32,
180+
trailing_zeros: bool,
181+
) -> u32 {
176182
let shift = 10u32.pow(at_digit.get() as u32 - 1);
177183
let splitter = shift * 10;
178184

@@ -448,7 +454,7 @@ mod test_round_u32 {
448454
}
449455

450456
mod case_neg_35488622_000x {
451-
use super::*;
457+
use super::*;
452458

453459
// ...000x indicates non-zero trailing digit
454460
define_test_input!(-35488622 ...000x);

0 commit comments

Comments
 (0)