Skip to content

Commit 0bd4ee3

Browse files
authored
Merge pull request #80359 from amartini51/doc_fixes
Documentation fixes
2 parents 4c4ed53 + 7ee720b commit 0bd4ee3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

stdlib/public/Concurrency/TaskGroup.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,8 @@ public struct TaskGroup<ChildTaskResult: Sendable> {
331331
self._group = group
332332
}
333333

334-
/// Wait for the next child task to complete,
335-
/// and return the value it returned.
334+
/// Waits for the next child task to complete,
335+
/// and returns the value it returned.
336336
///
337337
/// The values returned by successive calls to this method
338338
/// appear in the order that the tasks *completed*,

stdlib/public/core/UnsafeBufferPointer.swift.gyb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -395,9 +395,9 @@ extension Unsafe${Mutable}BufferPointer where Element: ~Copyable {
395395
/// print(numbers)
396396
/// // Prints "[2, 1, 4, 3, 5]"
397397
///
398-
/// Uninitialized memory cannot be initialized to a nontrivial type
399-
/// using this subscript. Instead, use an initializing method, such as
400-
/// `initializeElement(at:to:)`
398+
/// Uninitialized memory cannot be initialized to a nontrivial type
399+
/// using this subscript. Instead, use an initializing method, such as
400+
/// `initializeElement(at:to:)`
401401
%else:
402402
/// The following example uses the buffer pointer's subscript to access every
403403
/// other element of the buffer:

0 commit comments

Comments
 (0)