From 25168d3d4b415533ac8d665d59fd8ba8bd34304f Mon Sep 17 00:00:00 2001 From: eloylp Date: Thu, 11 Apr 2024 19:34:08 -0500 Subject: [PATCH] reduce visibility of test func --- ampd/src/health_check.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ampd/src/health_check.rs b/ampd/src/health_check.rs index 3145da09b..23a16f995 100644 --- a/ampd/src/health_check.rs +++ b/ampd/src/health_check.rs @@ -44,7 +44,7 @@ impl Server { } #[cfg(test)] - pub fn listening_addr(&self) -> Result { + fn listening_addr(&self) -> Result { Ok(self .listener .local_addr()