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()