Skip to content

Commit 76eb770

Browse files
committed
feat(shadowsocks-service): fixed build error in sslocal (#1943)
1 parent 0bbf0aa commit 76eb770

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/service/local.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -939,7 +939,7 @@ pub fn create(matches: &ArgMatches) -> ShadowsocksResult<(Runtime, impl Future<O
939939

940940
let mut allowed_plugins = None;
941941
if let Some(plugins) = matches.get_many::<String>("ONLINE_CONFIG_ALLOWED_PLUGIN") {
942-
allowed_plugins = Some(plugins.collect());
942+
allowed_plugins = Some(plugins.cloned().collect());
943943
}
944944

945945
config.online_config = Some(OnlineConfig {

0 commit comments

Comments
 (0)