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() }