Fix docs links (#481)

This commit is contained in:
Folyd 2021-11-09 15:26:53 +08:00 committed by GitHub
parent 7710f2cf7f
commit 028f8a7242
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,5 @@
In axum a "handler" is an async function that accepts zero or more
["extractors"](#extractors) as arguments and returns something that
["extractors"](crate::extract) as arguments and returns something that
can be converted [into a response](crate::response).
Handlers is where your application logic lives and axum applications are built

View File

@ -67,6 +67,8 @@
//! This error doesn't tell you _why_ your function doesn't implement
//! [`Handler`]. It's possible to improve the error with the [`debug_handler`]
//! proc-macro from the [axum-debug] crate.
//!
//! [axum-debug]: https://docs.rs/axum-debug
use crate::{
body::{box_body, BoxBody},