diff --git a/src/context.rs b/src/context.rs index a2dc7988..5f87aacf 100644 --- a/src/context.rs +++ b/src/context.rs @@ -149,7 +149,7 @@ impl ServerState { #[cfg(not(feature = "trust-dns"))] impl ServerState { /// Create a global shared server state - pub async fn new_shared(_config: &Config, _rt: Handle) -> SharedServerState { + pub async fn new_shared(_config: &Config) -> SharedServerState { Arc::new(ServerState {}) } }