Browse Source

Update Kingfisher.swift

Remove redundant code
恨鐵不成金 7 years ago
parent
commit
c6cd717a4f
1 changed files with 1 additions and 4 deletions
  1. 1 4
      Sources/General/Kingfisher.swift

+ 1 - 4
Sources/General/Kingfisher.swift

@@ -54,10 +54,7 @@ public struct KingfisherWrapper<Base> {
     }
 }
 
-public protocol KingfisherCompatible {
-    associatedtype CompatibleType
-    var kf: CompatibleType { get }
-}
+public protocol KingfisherCompatible { }
 
 public extension KingfisherCompatible {
     public var kf: KingfisherWrapper<Self> {