Skip to content

Commit 4b1bb8f

Browse files
authored
Merge pull request #25071 from turushan/typo-fix-a-array
2 parents 036e74a + c616919 commit 4b1bb8f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stdlib/public/core/Array.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@ extension Array: RangeReplaceableCollection {
884884
return _Buffer(_buffer: newBuffer, shiftedToStartIndex: 0)
885885
}
886886

887-
/// Construct a Array of `count` uninitialized elements.
887+
/// Construct an Array of `count` uninitialized elements.
888888
@inlinable
889889
internal init(_uninitializedCount count: Int) {
890890
_precondition(count >= 0, "Can't construct Array with count < 0")
@@ -903,7 +903,7 @@ extension Array: RangeReplaceableCollection {
903903
}
904904

905905
/// Entry point for `Array` literal construction; builds and returns
906-
/// a Array of `count` uninitialized elements.
906+
/// an Array of `count` uninitialized elements.
907907
@inlinable
908908
@_semantics("array.uninitialized")
909909
internal static func _allocateUninitialized(
@@ -936,7 +936,7 @@ extension Array: RangeReplaceableCollection {
936936
}
937937

938938
/// Entry point for aborting literal construction: deallocates
939-
/// a Array containing only uninitialized elements.
939+
/// an Array containing only uninitialized elements.
940940
@inlinable
941941
internal mutating func _deallocateUninitialized() {
942942
// Set the count to zero and just release as normal.

0 commit comments

Comments
 (0)