Also fix parameter name in parameter docs.

Follow-on to commit 36832a8d47.
This commit is contained in:
Alex Martini
2021-06-17 09:47:36 -07:00
parent 8ca0e30b05
commit 4c82b7705c

View File

@@ -1468,7 +1468,7 @@ extension Collection {
/// // Prints "[10, 20, 30, 40]"
///
/// - Parameter position: The index of the last element to include in the
/// resulting subsequence. `end` must be a valid index of the collection
/// resulting subsequence. `position` must be a valid index of the collection
/// that is not equal to the `endIndex` property.
/// - Returns: A subsequence up to, and including, the `end` position.
///