summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--mullvad-daemon/src/management_interface.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mullvad-daemon/src/management_interface.rs b/mullvad-daemon/src/management_interface.rs
index 234bfd3d59..01f7e60488 100644
--- a/mullvad-daemon/src/management_interface.rs
+++ b/mullvad-daemon/src/management_interface.rs
@@ -371,7 +371,7 @@ impl<T: From<TunnelCommand> + 'static + Send> ManagementInterface<T> {
/// If it is `Ok(val)`, evaluates to `val`.
/// If it is `Err(e)` it early returns `Box<Future>` where the future will result in `e`.
macro_rules! try_future {
- ($result: expr) => {
+ ($result:expr) => {
match $result {
::std::result::Result::Ok(val) => val,
::std::result::Result::Err(e) => return Box::new(future::err(e)),