mirror of
https://github.com/apple/swift-async-algorithms
synced 2026-11-28 04:54:20 +00:00
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:
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
|
||||
|
||||
Reference in new issue
Block a user