Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

Commit 4a50c85

Browse files
committed
Fix to_string_in_format_args warnings
Signed-off-by: Joseph Livesey <joseph.livesey@btp.works>
1 parent 762a869 commit 4a50c85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

perf/sawtooth_perf/src/workload.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ impl fmt::Display for HTTPRequestCounter {
169169
write!(
170170
f,
171171
"{0}, Sent: {1}, Queue Full {2}",
172-
time.format("%h-%d-%Y %H:%M:%S%.3f").to_string(),
172+
time.format("%h-%d-%Y %H:%M:%S%.3f"),
173173
self.sent_count.load(Ordering::Relaxed),
174174
self.queue_full_count.load(Ordering::Relaxed)
175175
)

0 commit comments

Comments
 (0)