Skip to content

Commit 5b47d46

Browse files
authored
NFC: Fix doc comment link in UndirectedGraph.swift (#7832)
`UndirectedGraph` uses an adjacency matrix not adjacency list for edges representation. The link in its doc comment should be corrected.
1 parent 480a123 commit 5b47d46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Basics/Graph/UndirectedGraph.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
import struct DequeModule.Deque
1414

15-
/// Undirected graph that stores edges in an [adjacency matrix](https://en.wikipedia.org/wiki/Adjacency_list).
15+
/// Undirected graph that stores edges in an [adjacency matrix](https://en.wikipedia.org/wiki/Adjacency_matrix).
1616
@_spi(DontAdoptOutsideOfSwiftPMExposedForBenchmarksAndTestsOnly)
1717
public struct UndirectedGraph<Node> {
1818
public init(nodes: [Node]) {

0 commit comments

Comments
 (0)