Skip to content

Commit 4e8612d

Browse files
chore: fix typo
1 parent f7d9f51 commit 4e8612d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

echo.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ var NotFoundHandler = func(c Context) error {
351351
return ErrNotFound
352352
}
353353

354-
// MethodNotAllowedHandler is the handler thar router uses in case there was no matching route found but there was
354+
// MethodNotAllowedHandler is the handler that router uses in case there was no matching route found but there was
355355
// another matching routes for that requested URL. Returns an error that results HTTP 405 Method Not Allowed status code.
356356
var MethodNotAllowedHandler = func(c Context) error {
357357
// See RFC 7231 section 7.4.1: An origin server MUST generate an Allow field in a 405 (Method Not Allowed)

0 commit comments

Comments
 (0)