Skip to content

Commit be840a8

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 c01c4e8 commit be840a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/024.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ fn main() {
1212
.iter()
1313
.map(|&(p, q)| (q as f32) / (p as f32))
1414
.sum::<f32>();
15-
println!("{:.?}", result);
15+
println!("{:?}", result);
1616
}

0 commit comments

Comments
 (0)