Skip to content

Commit d8aa4de

Browse files
committed
Also fix parameter name in parameter docs.
Follow-on to commit 36832a8. (cherry picked from commit 4c82b77)
1 parent 1d63a5d commit d8aa4de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/Collection.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1479,7 +1479,7 @@ extension Collection {
14791479
/// // Prints "[10, 20, 30, 40]"
14801480
///
14811481
/// - Parameter position: The index of the last element to include in the
1482-
/// resulting subsequence. `end` must be a valid index of the collection
1482+
/// resulting subsequence. `position` must be a valid index of the collection
14831483
/// that is not equal to the `endIndex` property.
14841484
/// - Returns: A subsequence up to, and including, the `end` position.
14851485
///

0 commit comments

Comments
 (0)