Skip to content

Commit 4e43926

Browse files
committed
spelling: cannot
Signed-off-by: Josh Soref <[email protected]>
1 parent 2ed6bbd commit 4e43926

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Sources/GRPCCore/RPCError.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ extension RPCError.Code {
210210
/// The caller does not have permission to execute the specified operation.
211211
/// ``permissionDenied`` must not be used for rejections caused by exhausting
212212
/// some resource (use ``resourceExhausted`` instead for those errors).
213-
/// ``permissionDenied`` must not be used if the caller can not be identified
213+
/// ``permissionDenied`` must not be used if the caller cannot be identified
214214
/// (use ``unauthenticated`` instead for those errors).
215215
public static let permissionDenied = Self(code: .permissionDenied)
216216

Sources/GRPCCore/Status.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ extension Status.Code {
230230
/// The caller does not have permission to execute the specified operation.
231231
/// ``permissionDenied`` must not be used for rejections caused by exhausting
232232
/// some resource (use ``resourceExhausted`` instead for those errors).
233-
/// ``permissionDenied`` must not be used if the caller can not be identified
233+
/// ``permissionDenied`` must not be used if the caller cannot be identified
234234
/// (use ``unauthenticated`` instead for those errors).
235235
public static let permissionDenied = Self(code: .permissionDenied)
236236

Tests/GRPCCoreTests/Configuration/Generated/code.pb.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ enum Google_Rpc_Code: SwiftProtobuf.Enum, Swift.CaseIterable {
101101
/// operation. `PERMISSION_DENIED` must not be used for rejections
102102
/// caused by exhausting some resource (use `RESOURCE_EXHAUSTED`
103103
/// instead for those errors). `PERMISSION_DENIED` must not be
104-
/// used if the caller can not be identified (use `UNAUTHENTICATED`
104+
/// used if the caller cannot be identified (use `UNAUTHENTICATED`
105105
/// instead for those errors). This error code does not imply the
106106
/// request is valid or the requested entity exists or satisfies
107107
/// other pre-conditions.

dev/protos/upstream/google/rpc/code.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ enum Code {
8787
// operation. `PERMISSION_DENIED` must not be used for rejections
8888
// caused by exhausting some resource (use `RESOURCE_EXHAUSTED`
8989
// instead for those errors). `PERMISSION_DENIED` must not be
90-
// used if the caller can not be identified (use `UNAUTHENTICATED`
90+
// used if the caller cannot be identified (use `UNAUTHENTICATED`
9191
// instead for those errors). This error code does not imply the
9292
// request is valid or the requested entity exists or satisfies
9393
// other pre-conditions.

0 commit comments

Comments
 (0)