diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2017-08-24 15:16:07 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2017-08-24 15:16:07 +0200 |
| commit | a93f6010b581d308d289e3e2b024a0b3b7ae9e79 (patch) | |
| tree | 7e1643e5caf99f64e12bd490030e847afce4128c | |
| parent | 75b80b08a276f0d2bf45f322789c92d02220b50e (diff) | |
| download | mullvadvpn-a93f6010b581d308d289e3e2b024a0b3b7ae9e79.tar.xz mullvadvpn-a93f6010b581d308d289e3e2b024a0b3b7ae9e79.zip | |
Fix documentation
| -rw-r--r-- | mullvad-daemon/src/management_interface.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mullvad-daemon/src/management_interface.rs b/mullvad-daemon/src/management_interface.rs index 65778b6548..9401f4ad5e 100644 --- a/mullvad-daemon/src/management_interface.rs +++ b/mullvad-daemon/src/management_interface.rs @@ -233,7 +233,7 @@ impl<T: From<TunnelCommand> + 'static + Send> ManagementInterface<T> { result.boxed() } - /// Sends a command to the daemon and maps a successful send into the future `item`. + /// Sends a command to the daemon and maps the error to an RPC error. fn send_command_to_daemon(&self, command: TunnelCommand) -> BoxFuture<(), Error> { future::result(self.tx.lock().unwrap().send(command)) .map_err(|_| Error::internal_error()) |
