Skip to content

Commit 85a46dc

Browse files
Newt6611jorgemmsilva
authored andcommitted
rpc: fix comment grammar (ethereum#29507)
1 parent c7eb4ed commit 85a46dc

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)