Skip to content

Commit

Permalink
[NFC] fix comment typo in GraphAlgorithms.swift (#441)
Browse files Browse the repository at this point in the history
`encounted` -> `encountered`
  • Loading branch information
MaxDesiatov authored Nov 29, 2023
1 parent 4d539ff commit c334dd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/TSCBasic/GraphAlgorithms.swift
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public func topologicalSort<T: Hashable>(
/// 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.
Expand Down

0 comments on commit c334dd4

Please sign in to comment.