Fix broken links in docs

This commit is contained in:
Emi Tatsuo 2020-12-05 11:37:14 -05:00
parent 7add331e0b
commit 1068c00e55
Signed by: Emi
GPG Key ID: 68FAB2E2E6DFC98B
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ where
/// Any requests passed to the handler will be directly handed down to the handler,
/// with the request as the first argument. The response provided will be sent to the
/// requester. If the handler panics or returns an [`Err`], this will be logged, and
/// the requester will be sent a [`SERVER_ERROR`](Response::server_error()).
/// the requester will be sent a [`TEMPORARY FAILURE`](Response::temporary_failure()).
fn from(handler: H) -> Self {
Self::FnHandler(
Box::new(move|req| Box::pin((handler)(req)) as HandlerResponse)