Skip to content

Commit cfec64d

Browse files
cuibuweiAlexVulaj
authored andcommitted
chore: fix function name in comment
Signed-off-by: cuibuwei <[email protected]>
1 parent 7d9a6f7 commit cfec64d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mux.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ func CurrentRoute(r *http.Request) *Route {
462462
return nil
463463
}
464464

465-
// requestWithRouteAndVars adds the matched vars to the request ctx.
465+
// requestWithVars adds the matched vars to the request ctx.
466466
// It shortcuts the operation when the vars are empty.
467467
func requestWithVars(r *http.Request, vars map[string]string) *http.Request {
468468
if len(vars) == 0 {

0 commit comments

Comments
 (0)