Skip to content

Commit f85b2c5

Browse files
authored
Fix doc comment of DiscontiguousSlice.swift to make it match the code (#82220)
1 parent 84418d2 commit f85b2c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/DiscontiguousSlice.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ extension DiscontiguousSlice where Base: MutableCollection {
350350
/// past the last element of a collection, so it doesn't correspond with an
351351
/// element.
352352
///
353-
/// - Parameter position: The position of the element to access. `position`
353+
/// - Parameter i: The position of the element to access. `i`
354354
/// must be a valid index of the collection that is not equal to the
355355
/// `endIndex` property.
356356
///

0 commit comments

Comments
 (0)