Skip to content

Commit 5bc39a8

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 1edbbd5 commit 5bc39a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/util.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ pub fn poll<const N: usize>(
171171
.map(|pos| pos.load(Ordering::SeqCst))
172172
.collect();
173173
format!(
174-
"{{ [{}] [{}] {:.?} }}",
174+
"{{ [{}] [{}] {:?} }}",
175175
recent_execution_times.join(", "),
176176
average_execution_times.join(", "),
177177
execution_positions
@@ -277,7 +277,7 @@ pub fn poll<const N: usize>(
277277
.map(|pos| pos.load(Ordering::SeqCst))
278278
.collect();
279279
format!(
280-
"{{ [{}] [{}] {:.?} }}",
280+
"{{ [{}] [{}] {:?} }}",
281281
recent_execution_times.join(", "),
282282
average_execution_times.join(", "),
283283
execution_positions

0 commit comments

Comments
 (0)