Skip to content

Commit ce708a6

Browse files
committed
fix: make lifetime syntax consistent per Clippy
1 parent 6e96920 commit ce708a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/term.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ fn show_precedence_dbr(term: &Term, context_precedence: usize) -> String {
763763
}
764764
}
765765

766-
fn parenthesize_if(input: &str, condition: bool) -> Cow<str> {
766+
fn parenthesize_if(input: &str, condition: bool) -> Cow<'_, str> {
767767
if condition {
768768
format!("({})", input).into()
769769
} else {

0 commit comments

Comments
 (0)