Fix #[warn(elided_named_lifetimes)]
This commit is contained in:
parent
f3b673d062
commit
8d1c404dc1
Notes:
git
2025-04-18 13:49:11 +00:00
@ -129,11 +129,11 @@ struct FunctionPrinter<'a> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FunctionPrinter<'a> {
|
impl<'a> FunctionPrinter<'a> {
|
||||||
fn from(fun: &'a Function) -> FunctionPrinter {
|
fn from(fun: &'a Function) -> FunctionPrinter<'a> {
|
||||||
FunctionPrinter { fun, display_snapshot: false }
|
FunctionPrinter { fun, display_snapshot: false }
|
||||||
}
|
}
|
||||||
|
|
||||||
fn with_snapshot(fun: &'a Function) -> FunctionPrinter {
|
fn with_snapshot(fun: &'a Function) -> FunctionPrinter<'a> {
|
||||||
FunctionPrinter { fun, display_snapshot: true }
|
FunctionPrinter { fun, display_snapshot: true }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user