Skip to content

Commit 159bb88

Browse files
committed
spelling: might have
Signed-off-by: Josh Soref <[email protected]>
1 parent 00b4941 commit 159bb88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/GRPCCore/Streaming/Internal/BroadcastAsyncSequence.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ struct _BroadcastSequenceStateMachine<Element: Sendable>: Sendable {
471471
_ continuation: ConsumerContinuation,
472472
forSubscription id: _BroadcastSequenceStateMachine<Element>.Subscriptions.ID
473473
) -> OnSetContinuation {
474-
// 'next(id)' must be checked first: an element might've been provided between the lock
474+
// 'next(id)' must be checked first: an element might have been provided between the lock
475475
// being dropped and a continuation being created and the lock being acquired again.
476476
switch self.next(id) {
477477
case .return(let resultAndProducers):
@@ -708,7 +708,7 @@ struct _BroadcastSequenceStateMachine<Element: Sendable>: Sendable {
708708
_ continuation: ConsumerContinuation,
709709
forSubscription id: _BroadcastSequenceStateMachine<Element>.Subscriptions.ID
710710
) -> OnSetContinuation {
711-
// 'next(id)' must be checked first: an element might've been provided between the lock
711+
// 'next(id)' must be checked first: an element might have been provided between the lock
712712
// being dropped and a continuation being created and the lock being acquired again.
713713
switch self.next(id) {
714714
case .return(let resultAndProducers):

0 commit comments

Comments
 (0)