mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-22 15:17:18 +01:00
Wording tweak in #[debug_handler]
docs (#1807)
This commit is contained in:
parent
e167cfc325
commit
6075be60ed
1 changed files with 1 additions and 2 deletions
|
@ -542,8 +542,7 @@ pub fn derive_from_request_parts(item: TokenStream) -> TokenStream {
|
||||||
///
|
///
|
||||||
/// # Limitations
|
/// # Limitations
|
||||||
///
|
///
|
||||||
/// This macro does not work for associated functions — functions defined in an `impl` block that
|
/// This macro does not work for functions in an `impl` block that don't have a `self` parameter:
|
||||||
/// don't take `self`:
|
|
||||||
///
|
///
|
||||||
/// ```compile_fail
|
/// ```compile_fail
|
||||||
/// use axum::{debug_handler, extract::Path};
|
/// use axum::{debug_handler, extract::Path};
|
||||||
|
|
Loading…
Reference in a new issue