From 15c23dd939d55a3d08af880f012357f3ed01ffca Mon Sep 17 00:00:00 2001 From: Brian Martin Date: Sun, 30 Jul 2023 16:07:06 -0700 Subject: [PATCH] fix --- src/output/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output/mod.rs b/src/output/mod.rs index 814477dd..655371cc 100644 --- a/src/output/mod.rs +++ b/src/output/mod.rs @@ -416,7 +416,7 @@ pub fn json(config: Config, ratelimit: Option<&Ratelimiter>) { let json = JsonSnapshot { window: window_id, elapsed, - target_qps: ratelimit.as_ref().map(|ratelimit| ratelimit.rate()), + target_qps: ratelimit.as_ref().map(|ratelimit| ratelimit.rate() as _), client: Client { connections, requests,