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 065d6f657..4f8ab968f 100644
--- a/cli/bench/http.rs
+++ b/cli/bench/http.rs
@@ -187,7 +187,7 @@ fn run(
}
static NEXT_PORT: AtomicU16 = AtomicU16::new(4544);
-fn get_port() -> u16 {
+pub(crate) fn get_port() -> u16 {
let p = NEXT_PORT.load(Ordering::SeqCst);
NEXT_PORT.store(p.wrapping_add(1), Ordering::SeqCst);
p