Skip to content

Commit

Permalink
doc: correct a grammatical typo
Browse files Browse the repository at this point in the history
  • Loading branch information
creachadair committed Apr 26, 2021
1 parent fa616f8 commit e41d97b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions handler/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ func (m ServiceMap) Names() []string {
// not have one of these forms. The resulting method will handle encoding and
// decoding of JSON and report appropriate errors.
//
// Functions adapted by in this way can obtain the *jrpc2.Request value using
// the jrpc2.InboundRequest helper on the context value supplied by the server.
// Functions adapted in this way can obtain the *jrpc2.Request value using the
// jrpc2.InboundRequest helper on the context value supplied by the server.
func New(fn interface{}) Func {
m, err := newHandler(fn)
if err != nil {
Expand Down

0 comments on commit e41d97b

Please sign in to comment.