From acf9245a63458fbaba6d36b4caed18a71f84b393 Mon Sep 17 00:00:00 2001 From: test Date: Wed, 13 May 2020 14:59:03 +0800 Subject: [PATCH] fixing compile error --- src/context.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {}) } }