From 483ad0099d423143409ba9c7d8f99ffd7cd1d928 Mon Sep 17 00:00:00 2001 From: Marcos Griselli Date: Mon, 9 Sep 2024 13:20:20 -0300 Subject: [PATCH] Patch warnings for conformances of external types --- .../FloatingPointType+IdentifiableType.swift | 4 ++-- .../IntegerType+IdentifiableType.swift | 22 +++++++++---------- .../String+IdentifiableType.swift | 2 +- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Sources/RxDataSources/FloatingPointType+IdentifiableType.swift b/Sources/RxDataSources/FloatingPointType+IdentifiableType.swift index d11eaee1..8a0e3f5a 100644 --- a/Sources/RxDataSources/FloatingPointType+IdentifiableType.swift +++ b/Sources/RxDataSources/FloatingPointType+IdentifiableType.swift @@ -16,10 +16,10 @@ extension FloatingPoint { } } -extension Float : IdentifiableType { +extension Swift.Float : Differentiator.IdentifiableType { } -extension Double : IdentifiableType { +extension Swift.Double : Differentiator.IdentifiableType { } diff --git a/Sources/RxDataSources/IntegerType+IdentifiableType.swift b/Sources/RxDataSources/IntegerType+IdentifiableType.swift index d2bcf998..81a4b88a 100644 --- a/Sources/RxDataSources/IntegerType+IdentifiableType.swift +++ b/Sources/RxDataSources/IntegerType+IdentifiableType.swift @@ -16,44 +16,44 @@ extension BinaryInteger { } } -extension Int : IdentifiableType { +extension Swift.Int : Differentiator.IdentifiableType { } -extension Int8 : IdentifiableType { +extension Swift.Int8 : Differentiator.IdentifiableType { } -extension Int16 : IdentifiableType { +extension Swift.Int16 : Differentiator.IdentifiableType { } -extension Int32 : IdentifiableType { +extension Swift.Int32 : Differentiator.IdentifiableType { } -extension Int64 : IdentifiableType { +extension Swift.Int64 : Differentiator.IdentifiableType { } -extension UInt : IdentifiableType { +extension Swift.UInt : Differentiator.IdentifiableType { } -extension UInt8 : IdentifiableType { +extension Swift.UInt8 : Differentiator.IdentifiableType { } -extension UInt16 : IdentifiableType { +extension Swift.UInt16 : Differentiator.IdentifiableType { } -extension UInt32 : IdentifiableType { +extension Swift.UInt32 : Differentiator.IdentifiableType { } -extension UInt64 : IdentifiableType { - +extension Swift.UInt64 : Differentiator.IdentifiableType { + } diff --git a/Sources/RxDataSources/String+IdentifiableType.swift b/Sources/RxDataSources/String+IdentifiableType.swift index 708db744..ac4d54b0 100644 --- a/Sources/RxDataSources/String+IdentifiableType.swift +++ b/Sources/RxDataSources/String+IdentifiableType.swift @@ -8,7 +8,7 @@ import Foundation -extension String : IdentifiableType { +extension Swift.String : Differentiator.IdentifiableType { public typealias Identity = String public var identity: String {