Add missing lifetime specifier
This commit is contained in:
parent
80f4c49c1b
commit
b17cec509e
@ -20,7 +20,7 @@ pub fn string_to_stream(source_str: String) -> TokenStream {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Map string to parser (via tts)
|
/// Map string to parser (via tts)
|
||||||
pub fn string_to_parser(ps: &ParseSess, source_str: String) -> Parser {
|
pub fn string_to_parser(ps: &ParseSess, source_str: String) -> Parser<'_> {
|
||||||
new_parser_from_source_str(ps, PathBuf::from("bogofile").into(), source_str)
|
new_parser_from_source_str(ps, PathBuf::from("bogofile").into(), source_str)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user