From 76eb7704725e4e50406c2c511be82a9068903b95 Mon Sep 17 00:00:00 2001 From: zonyitoo Date: Tue, 29 Apr 2025 23:43:52 +0800 Subject: [PATCH] feat(shadowsocks-service): fixed build error in sslocal (#1943) --- src/service/local.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/service/local.rs b/src/service/local.rs index 67e83c17..e2ea19b3 100644 --- a/src/service/local.rs +++ b/src/service/local.rs @@ -939,7 +939,7 @@ pub fn create(matches: &ArgMatches) -> ShadowsocksResult<(Runtime, impl Future("ONLINE_CONFIG_ALLOWED_PLUGIN") { - allowed_plugins = Some(plugins.collect()); + allowed_plugins = Some(plugins.cloned().collect()); } config.online_config = Some(OnlineConfig {