Skip to content

Commit 1ac5919

Browse files
authored
Merge pull request #4629 from tonisuter/patch-1
Fix wrong parameter name in documentation comment
2 parents e9d4575 + c11ae52 commit 1ac5919

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)