Skip to content

Commit 3aa861e

Browse files
committed
spelling: ; otherwise,
Signed-off-by: Josh Soref <[email protected]>
1 parent f194758 commit 3aa861e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/GRPCCore/Call/Client/Internal/ClientRPCExecutor+RetryExecutor.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ extension ClientRPCExecutor.RetryExecutor {
288288
// subscriber and maximises the chances that 'isKnownSafeForNextSubscriber' will
289289
// return true.
290290
//
291-
// Note: this must only be called if we should retry, otherwise we may cancel a
291+
// Note: this must only be called if we should retry; otherwise, we may cancel a
292292
// subscriber for an accepted request.
293293
retryStream.invalidateAllSubscriptions()
294294

Sources/GRPCCore/Metadata.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public struct Metadata: Sendable, Hashable {
110110
/// - Parameters:
111111
/// - key: The key for the key-value pair.
112112
/// - value: The value to be associated to the given key. If it's a binary value, then the associated
113-
/// key must end in "-bin", otherwise, this method will produce an assertion failure.
113+
/// key must end in "-bin"; otherwise, this method will produce an assertion failure.
114114
init(key: String, value: Value) {
115115
if case .binary = value {
116116
assert(key.hasSuffix("-bin"), "Keys for binary values must end in -bin")

0 commit comments

Comments
 (0)