clippy: Remove explicit lifetime that can be elided.

This commit is contained in:
Bruce Mitchener 2023-09-18 21:17:00 +07:00
parent b423dc3cd2
commit 379514c77d
1 changed files with 2 additions and 2 deletions

View File

@ -382,10 +382,10 @@ impl GraphicalReportHandler {
Ok(())
}
fn render_context<'a>(
fn render_context(
&self,
f: &mut impl fmt::Write,
source: &'a dyn SourceCode,
source: &dyn SourceCode,
context: &LabeledSpan,
labels: &[LabeledSpan],
) -> fmt::Result {