@@ -274,7 +274,7 @@ extension MultiProducerSingleConsumerChannel {
274274 /// - Returns: The result that indicates if more elements should be produced at this time.
275275 @inlinable
276276 public mutating func send< S> (
277- contentsOf sequence: consuming sendingS
277+ contentsOf sequence: consuming sending S
278278 ) throws -> SendResult where Element == S . Element , S: Sequence , Element: Copyable {
279279 try self . _storage. send ( contentsOf: sequence)
280280 }
@@ -288,7 +288,7 @@ extension MultiProducerSingleConsumerChannel {
288288 /// - Parameter element: The element to send to the channel.
289289 /// - Returns: The result that indicates if more elements should be produced at this time.
290290 @inlinable
291- public mutating func send( _ element: consuming sendingElement ) throws -> SendResult {
291+ public mutating func send( _ element: consuming sending Element ) throws -> SendResult {
292292 try self . _storage. send ( contentsOf: CollectionOfOne ( element) )
293293 }
294294
@@ -334,7 +334,7 @@ extension MultiProducerSingleConsumerChannel {
334334 /// invoked during the call to ``send(contentsOf:onProduceMore:)``.
335335 @inlinable
336336 public mutating func send< S> (
337- contentsOf sequence: consuming sendingS ,
337+ contentsOf sequence: consuming sending S ,
338338 onProduceMore: @escaping @Sendable ( Result < Void , Error > ) -> Void
339339 ) where Element == S . Element , S: Sequence , Element: Copyable {
340340 do {
@@ -364,7 +364,7 @@ extension MultiProducerSingleConsumerChannel {
364364 /// invoked during the call to ``send(_:onProduceMore:)``.
365365 @inlinable
366366 public mutating func send(
367- _ element: consuming sendingElement ,
367+ _ element: consuming sending Element ,
368368 onProduceMore: @escaping @Sendable ( Result < Void , Error > ) -> Void
369369 ) {
370370 do {
@@ -394,9 +394,9 @@ extension MultiProducerSingleConsumerChannel {
394394 /// - sequence: The elements to send to the channel.
395395 @inlinable
396396 public mutating func send< S> (
397- contentsOf sequence: consuming sendingS
397+ contentsOf sequence: consuming sending S
398398 ) async throws where Element == S . Element , S: Sequence , Element: Copyable {
399- let syncSend : ( sending S, inout sendingSelf ) throws -> SendResult = { try $1. send ( contentsOf: $0) }
399+ let syncSend : ( sending S, inout sending Self ) throws -> SendResult = { try $1. send ( contentsOf: $0) }
400400 let sendResult = try syncSend ( sequence, & self )
401401
402402 switch consume sendResult {
@@ -430,8 +430,8 @@ extension MultiProducerSingleConsumerChannel {
430430 /// - Parameters:
431431 /// - element: The element to send to the channel.
432432 @inlinable
433- public mutating func send( _ element: consuming sendingElement ) async throws {
434- let syncSend : ( consuming sendingElement , inout sendingSelf ) throws -> SendResult = { try $1. send ( $0) }
433+ public mutating func send( _ element: consuming sending Element ) async throws {
434+ let syncSend : ( consuming sending Element , inout sending Self ) throws -> SendResult = { try $1. send ( $0) }
435435 let sendResult = try syncSend ( element, & self )
436436
437437 switch consume sendResult {
@@ -463,7 +463,7 @@ extension MultiProducerSingleConsumerChannel {
463463 /// - Parameters:
464464 /// - sequence: The elements to send to the channel.
465465 @inlinable
466- public mutating func send< S> ( contentsOf sequence: consuming sendingS ) async throws
466+ public mutating func send< S> ( contentsOf sequence: consuming sending S ) async throws
467467 where Element == S . Element , S: AsyncSequence , Element: Copyable , S: Sendable , Element: Sendable {
468468 for try await element in sequence {
469469 try await self . send ( contentsOf: CollectionOfOne ( element) )
0 commit comments