fix: format & update

This commit is contained in:
wonfen
2025-06-21 22:39:12 +08:00
parent 5fde5dcc7c
commit 41fc13cfe2
4 changed files with 11 additions and 19 deletions

View File

@@ -85,7 +85,7 @@ struct ProxyConfig {
guard_enabled: bool,
}
static PROXY_MANAGER: Lazy<EventDrivenProxyManager> = Lazy::new(|| EventDrivenProxyManager::new());
static PROXY_MANAGER: Lazy<EventDrivenProxyManager> = Lazy::new(EventDrivenProxyManager::new);
impl EventDrivenProxyManager {
pub fn global() -> &'static EventDrivenProxyManager {