Skip to content

Fix doc comment of DiscontiguousSlice.swift to make it match the code #82220

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stdlib/public/core/DiscontiguousSlice.swift
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ extension DiscontiguousSlice where Base: MutableCollection {
/// past the last element of a collection, so it doesn't correspond with an
/// element.
///
/// - Parameter position: The position of the element to access. `position`
/// - Parameter i: The position of the element to access. `i`
/// must be a valid index of the collection that is not equal to the
/// `endIndex` property.
///
Expand Down