Skip to content

Commit f5f2923

Browse files
committed
Fix trailing comma in parameters for compatibility with Swift 6.0
1 parent f746d75 commit f5f2923

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/DocCHTML/XMLNode+element.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ extension XMLNode {
1818
package static func element(
1919
named name: String,
2020
children: [XMLNode]? = nil,
21-
attributes: [String: String]? = nil,
21+
attributes: [String: String]? = nil
2222
) -> XMLElement {
2323
let attributeNodes: [XMLNode]?
2424
if let attributes, !attributes.isEmpty {

0 commit comments

Comments
 (0)