Skip to content

Commit 4c82b77

Browse files
committed
Also fix parameter name in parameter docs.
Follow-on to commit 36832a8.
1 parent 8ca0e30 commit 4c82b77

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
@@ -1468,7 +1468,7 @@ extension Collection {
14681468
/// // Prints "[10, 20, 30, 40]"
14691469
///
14701470
/// - Parameter position: The index of the last element to include in the
1471-
/// resulting subsequence. `end` must be a valid index of the collection
1471+
/// resulting subsequence. `position` must be a valid index of the collection
14721472
/// that is not equal to the `endIndex` property.
14731473
/// - Returns: A subsequence up to, and including, the `end` position.
14741474
///

0 commit comments

Comments
 (0)