mirror of
https://github.com/uutils/coreutils
synced 2024-11-15 01:17:09 +00:00
seq: remove unused param from write_value_float()
This commit is contained in:
parent
2b69803450
commit
6b1c4d1fa9
1 changed files with 1 additions and 8 deletions
|
@ -206,7 +206,6 @@ fn write_value_float(
|
|||
value: &ExtendedBigDecimal,
|
||||
width: usize,
|
||||
precision: usize,
|
||||
_is_first_iteration: bool,
|
||||
) -> std::io::Result<()> {
|
||||
let value_as_str =
|
||||
if *value == ExtendedBigDecimal::Infinity || *value == ExtendedBigDecimal::MinusInfinity {
|
||||
|
@ -279,13 +278,7 @@ fn print_seq(
|
|||
exit(1);
|
||||
}
|
||||
}
|
||||
None => write_value_float(
|
||||
&mut stdout,
|
||||
&value,
|
||||
padding,
|
||||
largest_dec,
|
||||
is_first_iteration,
|
||||
)?,
|
||||
None => write_value_float(&mut stdout, &value, padding, largest_dec)?,
|
||||
}
|
||||
// TODO Implement augmenting addition.
|
||||
value = value + increment.clone();
|
||||
|
|
Loading…
Reference in a new issue