Fix warning

This commit is contained in:
Shadowfacts 2022-06-06 23:58:43 -04:00
parent a4d43889ce
commit 01bb37b0f6
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ public struct LazilyDecoding<Enclosing, Value: Codable> {
}
extension LazilyDecoding {
init<T: Codable>(arrayFrom keyPath: ReferenceWritableKeyPath<Enclosing, Data?>) where Value == [T] {
init<T>(arrayFrom keyPath: ReferenceWritableKeyPath<Enclosing, Data?>) where Value == [T] {
self.init(from: keyPath, fallback: [])
}
}