Revert "Extension: Remove Set warning"

This reverts commit cf090cfaa61acef5ff43f9f261764b0a125411f8.
This commit is contained in:
kingbri 2024-06-11 00:25:11 -04:00 committed by Brian Dashore
parent 4ecc9d9ee7
commit 8c9bb4a699

View file

@ -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)