Skip to content

Commit

Permalink
typo in mux.go (#2479)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabroo authored Jan 1, 2022
1 parent 2ee9ba5 commit c52fba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/mux.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ func (s *ServeMux) HandlePath(meth string, pathPattern string, h HandlerFunc) er
return nil
}

// ServeHTTP dispatches the request to the first handler whose pattern matches to r.Method and r.Path.
// ServeHTTP dispatches the request to the first handler whose pattern matches to r.Method and r.URL.Path.
func (s *ServeMux) ServeHTTP(w http.ResponseWriter, r *http.Request) {
ctx := r.Context()

Expand Down

0 comments on commit c52fba1

Please sign in to comment.