diff options
Diffstat (limited to 'mullvad-daemon/src')
| -rw-r--r-- | mullvad-daemon/src/device/service.rs | 4 | ||||
| -rw-r--r-- | mullvad-daemon/src/relay_list/mod.rs | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/mullvad-daemon/src/device/service.rs b/mullvad-daemon/src/device/service.rs index 39fbb469f9..3ebecf0483 100644 --- a/mullvad-daemon/src/device/service.rs +++ b/mullvad-daemon/src/device/service.rs @@ -261,7 +261,9 @@ pub struct AccountService { } impl AccountService { - pub fn create_account(&self) -> impl Future<Output = Result<AccountNumber, rest::Error>> + use<> { + pub fn create_account( + &self, + ) -> impl Future<Output = Result<AccountNumber, rest::Error>> + use<> { let proxy = self.proxy.clone(); let api_handle = self.api_availability.clone(); retry_future( diff --git a/mullvad-daemon/src/relay_list/mod.rs b/mullvad-daemon/src/relay_list/mod.rs index 99fa60df57..ee5781aff0 100644 --- a/mullvad-daemon/src/relay_list/mod.rs +++ b/mullvad-daemon/src/relay_list/mod.rs @@ -166,7 +166,7 @@ impl RelayListUpdater { api_handle: ApiAvailability, proxy: RelayListProxy, tag: Option<String>, - ) -> impl Future<Output = Result<Option<RelayList>, mullvad_api::Error>> + 'static { + ) -> impl Future<Output = Result<Option<RelayList>, mullvad_api::Error>> + use<> { let download_futures = move || { let available = api_handle.wait_background(); let req = proxy.relay_list(tag.clone()); |
