Skip to content

Commit c1f6396

Browse files
committed
chore: make clippy happy
1 parent 56b6c35 commit c1f6396

File tree

1 file changed

+1
-1
lines changed
  • crates/shadowsocks-service/src/local/online_config

1 file changed

+1
-1
lines changed

crates/shadowsocks-service/src/local/online_config/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ impl OnlineConfigService {
217217
// Check plugin whitelist
218218
if let Some(ref allowed_plugins) = self.allowed_plugins {
219219
for server in &online_config.server {
220-
if let Some(ref plugin) = server.config.plugin() {
220+
if let Some(plugin) = server.config.plugin() {
221221
if !allowed_plugins.contains(&plugin.plugin) {
222222
error!(
223223
"server-loader task found not allowed plugin: {}, url: {}",

0 commit comments

Comments
 (0)