Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rpc/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ func isSubscriptionType(t reflect.Type) bool {
return t == subscriptionType
}

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