Skip to content

Commit 5d08384

Browse files
committed
Fix doc comment in MutableSpan.swift
1 parent c987ea9 commit 5d08384

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/core/Span/MutableSpan.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ extension MutableSpan where Element: BitwiseCopyable {
281281
@_originallyDefinedIn(module: "Swift;CompatibilitySpan", SwiftCompatibilitySpan 6.2)
282282
extension MutableSpan where Element: ~Copyable {
283283

284-
/// Accesses the element at the specified position in the `Span`.
284+
/// Accesses the element at the specified position in the `MutableSpan`.
285285
///
286286
/// - Parameter position: The offset of the element to access. `position`
287287
/// must be greater or equal to zero, and less than `count`.
@@ -300,7 +300,7 @@ extension MutableSpan where Element: ~Copyable {
300300
}
301301
}
302302

303-
/// Accesses the element at the specified position in the `Span`.
303+
/// Accesses the element at the specified position in the `MutableSpan`.
304304
///
305305
/// This subscript does not validate `position`; this is an unsafe operation.
306306
///

0 commit comments

Comments
 (0)