Skip to content

Commit

Permalink
Drop unused argument to float functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark-Simulacrum committed Feb 17, 2020
1 parent bd12cd3 commit 6c45e45
Show file tree
Hide file tree
Showing 3 changed files with 224 additions and 240 deletions.
2 changes: 0 additions & 2 deletions src/libcore/fmt/float.rs
Expand Up @@ -29,7 +29,6 @@ where
*num,
sign,
precision,
false,
buf.get_mut(),
parts.get_mut(),
);
Expand Down Expand Up @@ -59,7 +58,6 @@ where
*num,
sign,
precision,
false,
buf.get_mut(),
parts.get_mut(),
);
Expand Down
2 changes: 0 additions & 2 deletions src/libcore/num/flt2dec/mod.rs
Expand Up @@ -462,7 +462,6 @@ pub fn to_shortest_str<'a, T, F>(
v: T,
sign: Sign,
frac_digits: usize,
_upper: bool,
buf: &'a mut [u8],
parts: &'a mut [Part<'a>],
) -> Formatted<'a>
Expand Down Expand Up @@ -679,7 +678,6 @@ pub fn to_exact_fixed_str<'a, T, F>(
v: T,
sign: Sign,
frac_digits: usize,
_upper: bool,
buf: &'a mut [u8],
parts: &'a mut [Part<'a>],
) -> Formatted<'a>
Expand Down

0 comments on commit 6c45e45

Please sign in to comment.