Skip to content

Commit c11ae52

Browse files
authored
Fix wrong parameter name in documentation comment
1 parent e9d4575 commit c11ae52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/Sequence.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ extension Sequence {
835835
/// print(shortNames)
836836
/// // Prints "["Kim", "Karl"]"
837837
///
838-
/// - Parameter shouldInclude: A closure that takes an element of the
838+
/// - Parameter isIncluded: A closure that takes an element of the
839839
/// sequence as its argument and returns a Boolean value indicating
840840
/// whether the element should be included in the returned array.
841841
/// - Returns: An array of the elements that `includeElement` allowed.

0 commit comments

Comments
 (0)