Skip to content

Commit b17cec5

Browse files
committed
Add missing lifetime specifier
1 parent 80f4c49 commit b17cec5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/util/parser_testing.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pub fn string_to_stream(source_str: String) -> TokenStream {
2020
}
2121

2222
/// Map string to parser (via tts)
23-
pub fn string_to_parser(ps: &ParseSess, source_str: String) -> Parser {
23+
pub fn string_to_parser(ps: &ParseSess, source_str: String) -> Parser<'_> {
2424
new_parser_from_source_str(ps, PathBuf::from("bogofile").into(), source_str)
2525
}
2626

0 commit comments

Comments
 (0)