From 5c4c1658a7a5151986c3a22bb8fdf71d5e749679 Mon Sep 17 00:00:00 2001 From: Brad Dunbar Date: Tue, 2 Dec 2025 18:24:27 -0500 Subject: [PATCH] SecondElementIs: Correct a small inconsistency (#3559) --- axum-extra/src/routing/typed.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/axum-extra/src/routing/typed.rs b/axum-extra/src/routing/typed.rs index 909a0419..06652092 100644 --- a/axum-extra/src/routing/typed.rs +++ b/axum-extra/src/routing/typed.rs @@ -320,7 +320,7 @@ where /// Utility trait used with [`RouterExt`] to ensure the second element of a tuple type is a /// given type. /// -/// If you see it in type errors it's most likely because the second argument to your handler doesn't +/// If you see it in type errors it's most likely because the first argument to your handler doesn't /// implement [`TypedPath`]. /// /// You normally shouldn't have to use this trait directly.