summaryrefslogtreecommitdiffhomepage
path: root/ios/RelayCache
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2023-05-22 12:06:35 +0200
committerAndrej Mihajlov <and@mullvad.net>2023-05-22 13:33:59 +0200
commitab46d1d97532e2f944cca13191dcf0eb8a625cb9 (patch)
treeb1be46f097baa24df4f417b4f44237a8a65787d2 /ios/RelayCache
parentfe5095e666ca451992bfaa5e43e6da0773e280db (diff)
downloadmullvadvpn-ab46d1d97532e2f944cca13191dcf0eb8a625cb9.tar.xz
mullvadvpn-ab46d1d97532e2f944cca13191dcf0eb8a625cb9.zip
Reformat the code for Swift 5.8
Diffstat (limited to 'ios/RelayCache')
-rw-r--r--ios/RelayCache/RelayCache.swift4
1 files changed, 2 insertions, 2 deletions
diff --git a/ios/RelayCache/RelayCache.swift b/ios/RelayCache/RelayCache.swift
index 0952f05438..3c5ceb3a20 100644
--- a/ios/RelayCache/RelayCache.swift
+++ b/ios/RelayCache/RelayCache.swift
@@ -61,7 +61,7 @@ public final class RelayCache {
byAccessor: accessor
)
- if let error = error {
+ if let error {
result = .failure(error)
}
@@ -88,7 +88,7 @@ public final class RelayCache {
byAccessor: accessor
)
- if let error = error {
+ if let error {
result = .failure(error)
}