@@ -57,7 +57,7 @@ fn token(input: &str) -> nom::IResult<&str, &str> {
57
57
/// VCHAR = %x21-7E
58
58
/// ; visible (printing) characters
59
59
/// ```
60
- fn quoted_string ( input : & str ) -> nom:: IResult < & str , ParamValue > {
60
+ fn quoted_string ( input : & str ) -> nom:: IResult < & str , ParamValue < ' _ > > {
61
61
trace ! ( "quoted_string attempt on {:?}" , input) ;
62
62
let is_qdtext = |c| match c {
63
63
'\t' | ' ' | '\x21' | '\x23' ..='\x5B' | '\x5D' ..='\x7E' => true ,
@@ -90,7 +90,7 @@ fn quoted_string(input: &str) -> nom::IResult<&str, ParamValue> {
90
90
/// ```text
91
91
/// auth-param = token BWS "=" BWS ( token / quoted-string )
92
92
/// ```
93
- fn auth_param ( input : & str ) -> nom:: IResult < & str , ( & str , ParamValue ) > {
93
+ fn auth_param ( input : & str ) -> nom:: IResult < & str , ( & str , ParamValue < ' _ > ) > {
94
94
trace ! ( "auth_param attempt on {:?}" , input) ;
95
95
separated_pair (
96
96
token,
@@ -170,7 +170,7 @@ where
170
170
///
171
171
/// Although in practice this is ambiguous when placed into a `1#challenge`,
172
172
/// which we resolve by using `list0_relaxed_inner` rather than `list0_relaxed`.
173
- fn challenge ( input : & str ) -> nom:: IResult < & str , ChallengeRef > {
173
+ fn challenge ( input : & str ) -> nom:: IResult < & str , ChallengeRef < ' _ > > {
174
174
trace ! ( "challenge attempt on {:?}" , input) ;
175
175
map (
176
176
tuple ( (
@@ -195,7 +195,7 @@ fn challenge(input: &str) -> nom::IResult<&str, ChallengeRef> {
195
195
/// WWW-Authenticate = *( "," OWS ) challenge *( OWS "," [ OWS challenge
196
196
/// ] )
197
197
/// ```
198
- pub fn challenges ( input : & str ) -> nom:: IResult < & str , Vec < ChallengeRef > > {
198
+ pub fn challenges ( input : & str ) -> nom:: IResult < & str , Vec < ChallengeRef < ' _ > > > {
199
199
all_consuming ( list1_relaxed ( challenge) ) ( input)
200
200
}
201
201
0 commit comments