summaryrefslogtreecommitdiffhomepage
path: root/talpid-openvpn-plugin/src
diff options
context:
space:
mode:
Diffstat (limited to 'talpid-openvpn-plugin/src')
-rw-r--r--talpid-openvpn-plugin/src/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/talpid-openvpn-plugin/src/lib.rs b/talpid-openvpn-plugin/src/lib.rs
index 4449814e31..f08aa4a9a5 100644
--- a/talpid-openvpn-plugin/src/lib.rs
+++ b/talpid-openvpn-plugin/src/lib.rs
@@ -76,9 +76,9 @@ fn parse_args(args: &[CString]) -> Result<talpid_ipc::IpcServerId> {
.chain_err(|| ErrorKind::ParseArgsFailed)?
.into_iter();
let _plugin_path = args_iter.next();
- let core_server_id: talpid_ipc::IpcServerId = args_iter.next().ok_or_else(|| {
- ErrorKind::Msg("No core server id given as first argument".to_owned())
- })?;
+ let core_server_id: talpid_ipc::IpcServerId = args_iter
+ .next()
+ .ok_or_else(|| ErrorKind::Msg("No core server id given as first argument".to_owned()))?;
Ok(core_server_id)
}