Skip to content

Commit 1f69d2e

Browse files
authored
Remove empty format precision specifier
A format precision specifier consisting of a dot and no number actually does nothing and has no specified meaning. Currently this is silently ignored, but it may turn into a warning or error. See rust-lang/rust#131159 and rust-lang/rust#136638
1 parent 99fa3b9 commit 1f69d2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/armv8/a64.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3058,7 +3058,7 @@ impl Display for Operand {
30583058
if *d as i64 as f64 == *d {
30593059
write!(fmt, "#{:0.1}", d)
30603060
} else {
3061-
write!(fmt, "#{:0.}", d)
3061+
write!(fmt, "#{:0}", d)
30623062
}
30633063
},
30643064
Operand::Imm16(i) => {

0 commit comments

Comments
 (0)