diff --git a/Sources/TSCBasic/GraphAlgorithms.swift b/Sources/TSCBasic/GraphAlgorithms.swift index 55df8ac4..cbb19db4 100644 --- a/Sources/TSCBasic/GraphAlgorithms.swift +++ b/Sources/TSCBasic/GraphAlgorithms.swift @@ -102,7 +102,7 @@ public func topologicalSort( /// Finds the first cycle encountered in a graph. /// /// This method uses DFS to look for a cycle and immediately returns when a -/// cycle is encounted. +/// cycle is encountered. /// /// - Parameters: /// - nodes: The list of input nodes to sort.