Skip to content

Commit daf3c0d

Browse files
authored
Fix typo in doc comment for share (#370)
1 parent 70c36ce commit daf3c0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/AsyncAlgorithms/AsyncShareSequence.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ where Element: Sendable, Self: SendableMetatype, AsyncIterator: SendableMetatype
3333
/// ## Example Usage
3434
///
3535
/// ```swift
36-
/// let numbers = [1, 2, 3, 4, 5].share.map {
36+
/// let numbers = [1, 2, 3, 4, 5].async.map {
3737
/// try? await Task.sleep(for: .seconds(1))
3838
/// return $0
3939
/// }

0 commit comments

Comments
 (0)