File tree 2 files changed +6
-0
lines changed
stdlib/public/Concurrency
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -478,13 +478,16 @@ extension AsyncStream.Continuation.YieldResult: Sendable where Element: Sendable
478
478
@available ( SwiftStdlib 6 . 2 , * )
479
479
extension AsyncStream . Continuation : Hashable {
480
480
@available ( SwiftStdlib 6 . 2 , * )
481
+ @inlinable
481
482
public func hash( into hasher: inout Hasher ) {
482
483
return hasher. combine ( ObjectIdentifier ( storage) )
483
484
}
484
485
@available ( SwiftStdlib 6 . 2 , * )
486
+ @inlinable
485
487
public var hashValue : Int {
486
488
return _hashValue ( for: self )
487
489
}
490
+ @inlinable
488
491
@available ( SwiftStdlib 6 . 2 , * )
489
492
public static func == ( lhs: Self , rhs: Self ) -> Bool {
490
493
return lhs. storage === rhs. storage
Original file line number Diff line number Diff line change @@ -524,14 +524,17 @@ extension AsyncThrowingStream.Continuation.YieldResult: Sendable where Element:
524
524
@available ( SwiftStdlib 6 . 2 , * )
525
525
extension AsyncThrowingStream . Continuation : Hashable {
526
526
@available ( SwiftStdlib 6 . 2 , * )
527
+ @inlinable
527
528
public func hash( into hasher: inout Hasher ) {
528
529
return hasher. combine ( ObjectIdentifier ( storage) )
529
530
}
530
531
@available ( SwiftStdlib 6 . 2 , * )
532
+ @inlinable
531
533
public var hashValue : Int {
532
534
return _hashValue ( for: self )
533
535
}
534
536
@available ( SwiftStdlib 6 . 2 , * )
537
+ @inlinable
535
538
public static func == ( lhs: Self , rhs: Self ) -> Bool {
536
539
return lhs. storage === rhs. storage
537
540
}
You can’t perform that action at this time.
0 commit comments