diff --git a/Sources/AsyncAlgorithms/AsyncChannel.swift b/Sources/AsyncAlgorithms/AsyncChannel.swift index 16b96fd..bf3cfe7 100644 --- a/Sources/AsyncAlgorithms/AsyncChannel.swift +++ b/Sources/AsyncAlgorithms/AsyncChannel.swift @@ -86,7 +86,7 @@ public final class AsyncChannel: AsyncSequence, Sendable { let state = ManagedCriticalState(State()) - public init(_ elementType: Element.Type = Element.self) { } + public init(element elementType: Element.Type = Element.self) { } func establish() -> Int { state.withCriticalRegion { state in