Light edit on guides and sequence source docs (rdar://90176127) (#86)

* Light-touch edit on existing guides.

* Light edit on the sequences' source docs.

Co-authored-by: Chris Adamson <cadamson@apple.com>
This commit is contained in:
Chris AdamsonandChris Adamson authored and GitHub committed 2022-03-17 15:14:34 -07:00
1 parent 571bfd1a60
commit 5ac8bb4d07
17 files changed
+95 -78

No files matched your search

@@ -18,8 +18,8 @@ extension AsyncSequence {
///
/// - Parameters:
/// - initial: The value to use as the initial value.
/// - transform: A closure that combines the previously reduced result and
/// the next element in the receiving asynchronous sequence.
/// - transform: A closure that combines the previously-reduced result and
/// the next element in the receiving asynchronous sequence, which it returns.
/// - Returns: An asynchronous sequence of the initial value followed by the reduced
/// elements.
@inlinable
@@ -37,8 +37,9 @@ extension AsyncSequence {
///
/// - Parameters:
/// - initial: The value to use as the initial value.
/// - transform: A closure that combines the previously reduced result and
/// the next element in the receiving asynchronous sequence.
/// - transform: A closure that combines the previously-reduced result and
/// the next element in the receiving asynchronous sequence, mutating the
/// previous result instead of returning a value.
/// - Returns: An asynchronous sequence of the initial value followed by the reduced
/// elements.
@inlinable