Remove unneeded lifetime specifiers

This commit is contained in:
Patrick Lühne 2020-03-30 05:17:24 +02:00
parent 3a5788bd24
commit 14abd73110
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -121,8 +121,7 @@ struct TermDisplay<'term>
term: &'term crate::Term, term: &'term crate::Term,
} }
fn display_term<'term>(term: &'term crate::Term, parent_precedence: Option<i32>) fn display_term(term: &crate::Term, parent_precedence: Option<i32>) -> TermDisplay
-> TermDisplay<'term>
{ {
TermDisplay TermDisplay
{ {
@ -238,8 +237,7 @@ struct FormulaDisplay<'formula>
formula: &'formula crate::Formula, formula: &'formula crate::Formula,
} }
fn display_formula<'formula>(formula: &'formula crate::Formula, parent_precedence: Option<i32>) fn display_formula(formula: &crate::Formula, parent_precedence: Option<i32>) -> FormulaDisplay
-> FormulaDisplay<'formula>
{ {
FormulaDisplay FormulaDisplay
{ {