mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-22 07:08:16 +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
|
||||
///
|
||||
/// This macro does not work for associated functions — functions defined in an `impl` block that
|
||||
/// don't take `self`:
|
||||
/// This macro does not work for functions in an `impl` block that don't have a `self` parameter:
|
||||
///
|
||||
/// ```compile_fail
|
||||
/// use axum::{debug_handler, extract::Path};
|
||||
|
|
Loading…
Reference in a new issue