mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Also fix parameter name in parameter docs.
Follow-on to commit 36832a8d47.
This commit is contained in:
@@ -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.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user