make 'static lifetime explicit
This commit is contained in:
1 parent
b6ade84ea6
commit
fbc89a7088
1 file changed
+1
-1
@@ -64,7 +64,7 @@ impl<Ctx: HotReloadingContext> CallBody<Ctx> {
|
||||
&self,
|
||||
template: Option<CallBody<Ctx>>,
|
||||
location: &'static str,
|
||||
) -> Option<Template> {
|
||||
) -> Option<Template<'static>> {
|
||||
let mut renderer: TemplateRenderer<Ctx> = TemplateRenderer {
|
||||
roots: &self.roots,
|
||||
phantom: std::marker::PhantomData,
|
||||
|
||||
Reference in new issue
Block a user