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