diff options
author | KNnut <9387720+KNnut@users.noreply.github.com> | 2020-11-09 22:38:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-09 15:38:29 +0100 |
commit | aaf7166a9d528636b11a2ad835238589bf650b6e (patch) | |
tree | ad209b2e48d0475a5ff65427ee3ca9a49c1c9851 /cli/bench/http.rs | |
parent | 8b7f5531ee1ccde897e87890e9aabc554fedb9dd (diff) |
refactor(cli): remove unnecessary format! calls (#8315)
Diffstat (limited to 'cli/bench/http.rs')
-rw-r--r-- | cli/bench/http.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/bench/http.rs b/cli/bench/http.rs index e8cfd2b04..0d2650721 100644 --- a/cli/bench/http.rs +++ b/cli/bench/http.rs @@ -299,5 +299,5 @@ fn node_tcp() -> Result<HttpBenchmarkResult> { fn hyper_http(exe: &str) -> Result<HttpBenchmarkResult> { let port = get_port(); println!("http_benchmark testing RUST hyper"); - run(&[exe, &format!("{}", port)], port, None, None) + run(&[exe, &port.to_string()], port, None, None) } |