diff --git a/context/handler.go b/context/handler.go index 1dcf1a02..a78423b9 100644 --- a/context/handler.go +++ b/context/handler.go @@ -45,7 +45,7 @@ type Filter func(Context) bool // as a middleware. // Filter is just a type of Handler which returns a boolean. // Handlers here should act like middleware, they should contain `ctx.Next` to proceed -// to the next handler of the chain. Those "handlers" are registed to the per-request context. +// to the next handler of the chain. Those "handlers" are registered to the per-request context. // // // It checks the "filter" and if passed then diff --git a/iris.go b/iris.go index f899fcdf..3cc537b7 100644 --- a/iris.go +++ b/iris.go @@ -345,7 +345,7 @@ var ( // as a middleware. // Filter is just a type of Handler which returns a boolean. // Handlers here should act like middleware, they should contain `ctx.Next` to proceed - // to the next handler of the chain. Those "handlers" are registed to the per-request context. + // to the next handler of the chain. Those "handlers" are registered to the per-request context. // // // It checks the "filter" and if passed then