Turns out it was just a lifetime issue.

master
Tom Alexander 4 years ago
parent 2b8894f9c2
commit 680fc167ea
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

@ -88,7 +88,7 @@ impl<'a> DustRenderer<'a> {
}
fn new_breadcrumbs_partial<'b>(
&self,
&'b self,
maybe_breadcrumbs: Option<&'b BreadcrumbTree>,
explicit_context_maybe_breadcrumbs: Option<&'b BreadcrumbTree>,
injected_context: Option<&'b dyn IntoContextElement>,
@ -139,7 +139,7 @@ impl<'a> DustRenderer<'a> {
});
});
None
Some((parent, new_nodes))
}
/// Returns a Breadcrumb tree where all the bottom nodes that do

Loading…
Cancel
Save