Revert "Extension: Remove Set warning"
This reverts commit cf090cfaa61acef5ff43f9f261764b0a125411f8.
This commit is contained in:
parent
4ecc9d9ee7
commit
8c9bb4a699
1 changed files with 1 additions and 2 deletions
|
|
@ -7,8 +7,7 @@
|
|||
|
||||
import Foundation
|
||||
|
||||
// Silenced due to removal in later Ferrite versions
|
||||
extension Set: @retroactive RawRepresentable where Element: Codable {
|
||||
extension Set: RawRepresentable where Element: Codable {
|
||||
public init?(rawValue: String) {
|
||||
guard let data = rawValue.data(using: .utf8),
|
||||
let result = try? JSONDecoder().decode(Set<Element>.self, from: data)
|
||||
|
|
|
|||
Loading…
Reference in a new issue