From 42e91630b12fc1be64c09abb1044ab4c42077aa7 Mon Sep 17 00:00:00 2001 From: Marco Mastropaolo Date: Wed, 20 Aug 2025 18:01:44 +0200 Subject: [PATCH] Fixes an elided lifetime causing a warning with newer compiler versions --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 44e0b33..4c15995 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -552,7 +552,7 @@ pub struct PasswordParams<'a> { /// parse_challenges("UnsupportedSchemeA, Basic realm=\"foo\", error error").unwrap_err(); /// ``` #[inline] -pub fn parse_challenges(input: &str) -> Result, parser::Error> { +pub fn parse_challenges(input: &str) -> Result>, parser::Error<'_>> { parser::ChallengeParser::new(input).collect() }