mirror of
https://github.com/shadowsocks/shadowsocks-rust.git
synced 2026-11-06 16:14:11 +00:00
fixing compile error
This commit is contained in:
+1
-1
@@ -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 {})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user