diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2017-03-16 09:45:13 +0100 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2017-03-16 09:45:13 +0100 |
| commit | f34a0d45dadfc0a7432b8dc76aa0e8cc1e677c01 (patch) | |
| tree | 558e982b317c515ffbd7ab757c5074e06f8a85cb /talpid_ipc | |
| parent | c319871bd879b622ab479d02dcbe644fdc4a5a5b (diff) | |
| download | mullvadvpn-f34a0d45dadfc0a7432b8dc76aa0e8cc1e677c01.tar.xz mullvadvpn-f34a0d45dadfc0a7432b8dc76aa0e8cc1e677c01.zip | |
Clean up according to clippy lints
Diffstat (limited to 'talpid_ipc')
| -rw-r--r-- | talpid_ipc/src/zmq_ipc.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/talpid_ipc/src/zmq_ipc.rs b/talpid_ipc/src/zmq_ipc.rs index aeecf2be41..7a9c6759b5 100644 --- a/talpid_ipc/src/zmq_ipc.rs +++ b/talpid_ipc/src/zmq_ipc.rs @@ -27,8 +27,7 @@ pub fn start_new_server<T, F>(on_message: F) -> Result<IpcServerId> return Ok(connection_string); } } - - return Err(ErrorKind::CouldNotStartServer.into()); + Err(ErrorKind::CouldNotStartServer.into()) } fn start_zmq_server(connection_string: &str) -> zmq::Result<zmq::Socket> { |
