fixing compile error

This commit is contained in:
test
2020-05-13 19:34:23 +08:00
committed by ty
parent 2ff44d3951
commit acf9245a63
+1 -1
View File
@@ -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 {})
}
}