make 'static lifetime explicit

This commit is contained in:
Evan Almloff committed 2022-12-19 09:37:15 -06:00
1 parent b6ade84ea6
commit fbc89a7088
1 file changed
+1 -1
+1 -1
View File
@@ -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,