Skip to content

Commit ad7a2eb

Browse files
Update Sources/SwiftGraph/Graph.swift
Co-authored-by: Zev Eisenberg <zev@zeveisenberg.com>
1 parent 941dea6 commit ad7a2eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftGraph/Graph.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ extension Graph {
4040
return edges.joined().count
4141
}
4242

43-
@available(*, deprecated, renamed: "addEdge", message: "Use the addEdge method without the additional directed parameter instead, as the Edge contains already the information about direction. A double specification can only result in inconsistencies and errors.")
43+
@available(*, deprecated, renamed: "addEdge(_:)", message: "Use the 'addEdge' method without the additional 'directed' parameter instead, as the Edge already contains the information about direction.")
4444
func addEdge(_ e: E, directed: Bool){
4545
addEdge(e)
4646
}

0 commit comments

Comments
 (0)