Remove needless lifetimes
This commit is contained in:
parent
8301de16da
commit
87e8613fd4
15 changed files with 21 additions and 21 deletions
|
|
@ -20,7 +20,7 @@ pub fn string_to_stream(source_str: String) -> TokenStream {
|
|||
}
|
||||
|
||||
/// Map string to parser (via tts)
|
||||
pub fn string_to_parser<'a>(ps: &'a ParseSess, source_str: String) -> Parser<'a> {
|
||||
pub fn string_to_parser(ps: &ParseSess, source_str: String) -> Parser {
|
||||
new_parser_from_source_str(ps, PathBuf::from("bogofile").into(), source_str)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue