Skip to content

Commit d29ce8f

Browse files
committed
Remove redundant extension of DynamicNodeEncoding
1 parent 2061b34 commit d29ce8f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Sources/XMLCoder/Encoder/DynamicNodeEncoding.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,6 @@ public extension DynamicNodeEncoding {
1717
}
1818
}
1919

20-
extension Array: DynamicNodeEncoding where Element: DynamicNodeEncoding {
21-
public static func nodeEncoding(forKey key: CodingKey) -> XMLEncoder.NodeEncoding {
22-
return Element.nodeEncoding(forKey: key)
23-
}
24-
}
25-
2620
extension DynamicNodeEncoding where Self: Collection, Self.Iterator.Element: DynamicNodeEncoding {
2721
public static func nodeEncoding(forKey key: CodingKey) -> XMLEncoder.NodeEncoding {
2822
return Element.nodeEncoding(forKey: key)

0 commit comments

Comments
 (0)