Skip to content

Commit 6c45e45

Browse files
Drop unused argument to float functions
1 parent bd12cd3 commit 6c45e45

File tree

3 files changed

+224
-240
lines changed

3 files changed

+224
-240
lines changed

Diff for: src/libcore/fmt/float.rs

-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ where
2929
*num,
3030
sign,
3131
precision,
32-
false,
3332
buf.get_mut(),
3433
parts.get_mut(),
3534
);
@@ -59,7 +58,6 @@ where
5958
*num,
6059
sign,
6160
precision,
62-
false,
6361
buf.get_mut(),
6462
parts.get_mut(),
6563
);

Diff for: src/libcore/num/flt2dec/mod.rs

-2
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,6 @@ pub fn to_shortest_str<'a, T, F>(
462462
v: T,
463463
sign: Sign,
464464
frac_digits: usize,
465-
_upper: bool,
466465
buf: &'a mut [u8],
467466
parts: &'a mut [Part<'a>],
468467
) -> Formatted<'a>
@@ -679,7 +678,6 @@ pub fn to_exact_fixed_str<'a, T, F>(
679678
v: T,
680679
sign: Sign,
681680
frac_digits: usize,
682-
_upper: bool,
683681
buf: &'a mut [u8],
684682
parts: &'a mut [Part<'a>],
685683
) -> Formatted<'a>

0 commit comments

Comments
 (0)