From c1f6396fd41216a8a6fccb0d0c0774656eda6cc2 Mon Sep 17 00:00:00 2001 From: zonyitoo Date: Wed, 30 Apr 2025 00:09:09 +0800 Subject: [PATCH] chore: make clippy happy --- crates/shadowsocks-service/src/local/online_config/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/shadowsocks-service/src/local/online_config/mod.rs b/crates/shadowsocks-service/src/local/online_config/mod.rs index 871c2ff4..760acc83 100644 --- a/crates/shadowsocks-service/src/local/online_config/mod.rs +++ b/crates/shadowsocks-service/src/local/online_config/mod.rs @@ -217,7 +217,7 @@ impl OnlineConfigService { // Check plugin whitelist if let Some(ref allowed_plugins) = self.allowed_plugins { for server in &online_config.server { - if let Some(ref plugin) = server.config.plugin() { + if let Some(plugin) = server.config.plugin() { if !allowed_plugins.contains(&plugin.plugin) { error!( "server-loader task found not allowed plugin: {}, url: {}",