Skip to content

Commit b9010f3

Browse files
authored
rpc: fix comment grammar (#29507)
1 parent 9dcf8aa commit b9010f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rpc/service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ func isSubscriptionType(t reflect.Type) bool {
227227
return t == subscriptionType
228228
}
229229

230-
// isPubSub tests whether the given method has as as first argument a context.Context and
230+
// isPubSub tests whether the given method's first argument is a context.Context and
231231
// returns the pair (Subscription, error).
232232
func isPubSub(methodType reflect.Type) bool {
233233
// numIn(0) is the receiver type

0 commit comments

Comments
 (0)