Remove unneeded lifetime specifiers

master
Patrick Lühne 3 years ago
parent 3a5788bd24
commit 14abd73110
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF
  1. 6
      src/format.rs

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

Loading…
Cancel
Save