commit 242b358e37505dbe83b8f29b9df8c374b319e396
parent 30cf75335b2a30c1d793f0e532d160b245f919a9
Author: jeb <jeb@jebrosen.com>
Date: Tue, 11 Sep 2018 15:11:08 -0700
Fix typo in 'handle_error' docstring.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/lib/src/rocket.rs b/core/lib/src/rocket.rs
@@ -302,7 +302,7 @@ impl Rocket {
}
// 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
// 500 catcher is executed. If there is no registered catcher for `status`,
// the default catcher is used.