Fix broken links in docs
This commit is contained in:
parent
7add331e0b
commit
1068c00e55
|
@ -103,7 +103,7 @@ where
|
||||||
/// Any requests passed to the handler will be directly handed down to the handler,
|
/// 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
|
/// 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
|
/// 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 {
|
fn from(handler: H) -> Self {
|
||||||
Self::FnHandler(
|
Self::FnHandler(
|
||||||
Box::new(move|req| Box::pin((handler)(req)) as HandlerResponse)
|
Box::new(move|req| Box::pin((handler)(req)) as HandlerResponse)
|
||||||
|
|
Loading…
Reference in a new issue