@@ -244,7 +244,7 @@ pub fn validate_template(input: &str) -> Option<&str> {
244244 }
245245}
246246
247- pub fn validate_identifier ( input : & str ) -> Option < Identifier > {
247+ pub fn validate_identifier ( input : & str ) -> Option < Identifier < ' _ > > {
248248 if input. len ( ) == 0 {
249249 return None ;
250250 }
@@ -257,7 +257,7 @@ pub fn validate_identifier(input: &str) -> Option<Identifier> {
257257 }
258258}
259259
260- pub fn validate_forma ( input : & str ) -> Option < Forma > {
260+ pub fn validate_forma ( input : & str ) -> Option < Forma < ' _ > > {
261261 if input. len ( ) == 0 {
262262 return None ;
263263 }
@@ -281,7 +281,7 @@ pub fn validate_forma(input: &str) -> Option<Forma> {
281281 Some ( Forma ( input) )
282282}
283283
284- fn parse_tuple ( input : & str ) -> Option < Vec < Forma > > {
284+ fn parse_tuple ( input : & str ) -> Option < Vec < Forma < ' _ > > > {
285285 let mut formas: Vec < Forma > = Vec :: new ( ) ;
286286
287287 for text in input. split ( "," ) {
@@ -294,7 +294,7 @@ fn parse_tuple(input: &str) -> Option<Vec<Forma>> {
294294}
295295
296296/// This one copes with (and discards) any internal whitespace encountered.
297- pub fn validate_genus ( input : & str ) -> Option < Genus > {
297+ pub fn validate_genus ( input : & str ) -> Option < Genus < ' _ > > {
298298 let first = input
299299 . chars ( )
300300 . next ( )
@@ -349,7 +349,7 @@ pub fn validate_genus(input: &str) -> Option<Genus> {
349349 }
350350}
351351
352- pub fn validate_response ( input : & str ) -> Option < Response > {
352+ pub fn validate_response ( input : & str ) -> Option < Response < ' _ > > {
353353 if input. len ( ) == 0 {
354354 return None ;
355355 }
@@ -371,14 +371,14 @@ pub fn validate_response(input: &str) -> Option<Response> {
371371 Some ( Response { value, condition } )
372372}
373373
374- fn _validate_decimal ( _input : & str ) -> Option < Numeric > {
374+ fn _validate_decimal ( _input : & str ) -> Option < Numeric < ' _ > > {
375375 // Test the regex macro availability within types.rs
376376 let _decimal_regex = regex ! ( r"^\s*-?[0-9]+\.[0-9]+\s*$" ) ;
377377 // For now, just return None since we removed Decimal variant
378378 None
379379}
380380
381- pub fn validate_numeric ( input : & str ) -> Option < Numeric > {
381+ pub fn validate_numeric ( input : & str ) -> Option < Numeric < ' _ > > {
382382 if input. is_empty ( ) {
383383 return None ;
384384 }
0 commit comments