Przeglądaj źródła

Removing unnecessary explicit newValue argument on setter

Mattt Thompson 11 lat temu
rodzic
commit
0e90799131
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Source/Alamofire.swift

+ 1 - 1
Source/Alamofire.swift

@@ -255,7 +255,7 @@ public class Manager {
                 return self.subdelegates[task.taskIdentifier]
             }
 
-            set(newValue) {
+            set {
                 self.subdelegates[task.taskIdentifier] = newValue
             }
         }