summaryrefslogtreecommitdiff
path: root/cli/bench/http.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/bench/http.rs')
-rw-r--r--cli/bench/http.rs2
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)
}