Skip to content

Commit 295628a

Browse files
authored
Merge pull request #7631 from drinkcat/format-hex-default
uucore: format: Fix hexadecimal default format print
2 parents be7b697 + 8cf4da0 commit 295628a

File tree

4 files changed

+150
-53
lines changed

4 files changed

+150
-53
lines changed

src/uu/seq/src/seq.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
177177
variant: FloatVariant::Decimal,
178178
width: padding,
179179
alignment: num_format::NumberAlignment::RightZero,
180-
precision,
180+
precision: Some(precision),
181181
..Default::default()
182182
},
183183
// format without precision: hexadecimal floats

0 commit comments

Comments
 (0)