mirror of
https://github.com/apple/swift-async-algorithms
synced 2026-11-22 04:10:40 +00:00
Fix typo in doc comment for share (#370)
This commit is contained in:
1 parent
70c36ce9a1
commit
daf3c0d723
1 file changed
+1
-1
@@ -33,7 +33,7 @@ where Element: Sendable, Self: SendableMetatype, AsyncIterator: SendableMetatype
|
||||
/// ## Example Usage
|
||||
///
|
||||
/// ```swift
|
||||
/// let numbers = [1, 2, 3, 4, 5].share.map {
|
||||
/// let numbers = [1, 2, 3, 4, 5].async.map {
|
||||
/// try? await Task.sleep(for: .seconds(1))
|
||||
/// return $0
|
||||
/// }
|
||||
|
||||
Reference in new issue
Block a user