Skip to content

Commit c334dd4

Browse files
authored
[NFC] fix comment typo in GraphAlgorithms.swift (#441)
`encounted` -> `encountered`
1 parent 4d539ff commit c334dd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/TSCBasic/GraphAlgorithms.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public func topologicalSort<T: Hashable>(
102102
/// Finds the first cycle encountered in a graph.
103103
///
104104
/// This method uses DFS to look for a cycle and immediately returns when a
105-
/// cycle is encounted.
105+
/// cycle is encountered.
106106
///
107107
/// - Parameters:
108108
/// - nodes: The list of input nodes to sort.

0 commit comments

Comments
 (0)