Skip to content

Commit 798c6ee

Browse files
committed
Update internal code comment
1 parent 0963fb7 commit 798c6ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftDocC/Infrastructure/Link Resolution/PathHierarchy+TypeSignature.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ private extension ContiguousArray<UTF8.CodeUnit>.SubSequence {
316316
// If we find "," in one level of parenthesis, we've found a tuple.
317317
return .tuple
318318
case closeAngle where depth == 0 && index > startIndex && self[index - 1] == hyphen:
319-
// If we find "," in outside of any level of parenthesis, we've found a closure.
319+
// If we find "->" outside any parentheses, we've found a closure.
320320
return .closure
321321
default:
322322
continue

0 commit comments

Comments
 (0)