mirror of
https://github.com/apple/swift-async-algorithms
synced 2026-11-26 04:37:48 +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
@@ -44,7 +44,8 @@ extension Dictionary {
|
||||
/// dictionary.
|
||||
/// - combine: A closure that is called with the values for any duplicate
|
||||
/// keys that are encountered. The closure returns the desired value for
|
||||
/// the final dictionary.
|
||||
/// the final dictionary, or throws an error if building the dictionary
|
||||
/// can't proceed.
|
||||
@inlinable
|
||||
public init<S: AsyncSequence>(_ keysAndValues: S, uniquingKeysWith combine: (Value, Value) async throws -> Value) async rethrows where S.Element == (Key, Value) {
|
||||
self.init()
|
||||
|
||||
Reference in new issue
Block a user