From 6075be60eddab1ec06754453a241d1822c7caf9a Mon Sep 17 00:00:00 2001 From: David Pedersen Date: Fri, 3 Mar 2023 12:38:26 +0100 Subject: [PATCH] Wording tweak in `#[debug_handler]` docs (#1807) --- axum-macros/src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/axum-macros/src/lib.rs b/axum-macros/src/lib.rs index f4582607..2fe5de10 100644 --- a/axum-macros/src/lib.rs +++ b/axum-macros/src/lib.rs @@ -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};