Skip to content

Commit a676a37

Browse files
authored
Merge pull request swiftlang#31999 from alexbinary/patch-1
Fix comments on `_compactMap(_:)`
2 parents 73c1005 + 7ea09a9 commit a676a37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/core/SequenceAlgorithms.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -794,8 +794,8 @@ extension Sequence {
794794
return try _compactMap(transform)
795795
}
796796

797-
// The implementation of flatMap accepting a closure with an optional result.
798-
// Factored out into a separate functions in order to be used in multiple
797+
// The implementation of compactMap accepting a closure with an optional result.
798+
// Factored out into a separate function in order to be used in multiple
799799
// overloads.
800800
@inlinable // protocol-only
801801
@inline(__always)

0 commit comments

Comments
 (0)