Fix typo in 'handle_error' docstring.

This commit is contained in:
jeb 2018-09-11 15:11:08 -07:00
parent 30cf75335b
commit 242b358e37
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ impl Rocket {
} }
// Finds the error catcher for the status `status` and executes it for the // Finds the error catcher for the status `status` and executes it for the
// given request `req`. If a user has registers a catcher for `status`, the // given request `req`. If a user has registered a catcher for `status`, the
// catcher is called. If the catcher fails to return a good response, the // catcher is called. If the catcher fails to return a good response, the
// 500 catcher is executed. If there is no registered catcher for `status`, // 500 catcher is executed. If there is no registered catcher for `status`,
// the default catcher is used. // the default catcher is used.