Skip to content

Commit

Permalink
correct clippy issue in tcp_gen
Browse files Browse the repository at this point in the history
Signed-off-by: Brian L. Troutwine <[email protected]>
  • Loading branch information
blt committed Aug 6, 2021
1 parent 90f6d96 commit 3a25c74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lading_generators/src/tcp_gen/worker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ impl Worker {
client.write_all(&blk.bytes).await.unwrap();
counter!(
"bytes_written",
blk.total_bytes.get() as u64,
u64::from(blk.total_bytes.get()),
&self.metric_labels
);
}
Expand Down

0 comments on commit 3a25c74

Please sign in to comment.