Switch the call for IntoContextElement back to a static integer so it compiles again.
This commit is contained in:
parent
21b9e9282b
commit
a578b57f12
@ -247,12 +247,13 @@ impl IntoContextElement for Vec<PartialNameElement> {
|
||||
renderer: &DustRenderer,
|
||||
breadcrumbs: &Vec<&dyn IntoContextElement>,
|
||||
) -> &dyn ContextElement {
|
||||
OwnedLiteral::LString(
|
||||
renderer
|
||||
.render_partial_name(self, breadcrumbs)
|
||||
.expect("TODO: Make into_context_element return a RenderError"),
|
||||
)
|
||||
// &OwnedLiteral::LPositiveInteger(1)
|
||||
// OwnedLiteral::LString(
|
||||
// renderer
|
||||
// .render_partial_name(self, breadcrumbs)
|
||||
// .expect("TODO: Make into_context_element return a RenderError"),
|
||||
// )
|
||||
// TODO
|
||||
&OwnedLiteral::LPositiveInteger(1)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user