Revert "Extension: Remove Set warning"

This reverts commit cf090cfaa61acef5ff43f9f261764b0a125411f8.
This commit is contained in:
kingbri 2024-06-11 00:25:11 -04:00
parent 904b5a74b5
commit 24e39f9fba

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)