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(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
fn render_context<'a>(
|
fn render_context(
|
||||||
&self,
|
&self,
|
||||||
f: &mut impl fmt::Write,
|
f: &mut impl fmt::Write,
|
||||||
source: &'a dyn SourceCode,
|
source: &dyn SourceCode,
|
||||||
context: &LabeledSpan,
|
context: &LabeledSpan,
|
||||||
labels: &[LabeledSpan],
|
labels: &[LabeledSpan],
|
||||||
) -> fmt::Result {
|
) -> fmt::Result {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue