Skip to content

Commit 6b838fb

Browse files
authored
Merge pull request #82636 from amartini51/typo_154473231_CHERRYPICK
Fix repeated words in documentation Fixes: rdar://154473231
2 parents 9fd0e92 + bdfc10d commit 6b838fb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

stdlib/public/core/UnsafeBufferPointer.swift.gyb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1210,7 +1210,7 @@ extension UnsafeMutableBufferPointer {
12101210
}
12111211

12121212
extension UnsafeMutableBufferPointer where Element: ~Copyable {
1213-
/// Updates this buffer's initialized memory initialized memory by moving
1213+
/// Updates this buffer's initialized memory by moving
12141214
/// every element from the source buffer, leaving the source memory
12151215
/// uninitialized.
12161216
///

stdlib/public/core/UnsafeBufferPointerSlice.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,7 @@ extension Slice {
949949
return unsafe startIndex.advanced(by: distance)
950950
}
951951

952-
/// Updates this buffer slice's initialized memory initialized memory by
952+
/// Updates this buffer slice's initialized memory by
953953
/// moving every element from the source buffer,
954954
/// leaving the source memory uninitialized.
955955
///

0 commit comments

Comments
 (0)