From 158bf3df63703f5065f5879a00b1f95adc0f7288 Mon Sep 17 00:00:00 2001 From: Daniel Voogsgerd Date: Tue, 24 Jun 2025 21:36:32 +0200 Subject: [PATCH] fix: Remove redundant generic in instantiated_path This generic was forgotten when refactoring the function --- lib/servers/axum-spec/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/servers/axum-spec/src/lib.rs b/lib/servers/axum-spec/src/lib.rs index 58cd8ea..5d51f81 100644 --- a/lib/servers/axum-spec/src/lib.rs +++ b/lib/servers/axum-spec/src/lib.rs @@ -84,7 +84,7 @@ impl EndpointPath { /// - the number of arguments given does not match the number of arguments in the path. #[inline] #[track_caller] - pub fn instantiated_path<'a, S: AsRef>(&self, args: impl IntoIterator) -> Cow<'static, str> { + pub fn instantiated_path<'a>(&self, args: impl IntoIterator) -> Cow<'static, str> { let mut args = args.into_iter(); let mut replace_count: usize = 0; let path = self