mirror of https://github.com/zkat/miette.git
clippy: Remove explicit lifetime that can be elided.
This commit is contained in:
parent
b423dc3cd2
commit
379514c77d
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue