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,
|
renderer: &DustRenderer,
|
||||||
breadcrumbs: &Vec<&dyn IntoContextElement>,
|
breadcrumbs: &Vec<&dyn IntoContextElement>,
|
||||||
) -> &dyn ContextElement {
|
) -> &dyn ContextElement {
|
||||||
OwnedLiteral::LString(
|
// OwnedLiteral::LString(
|
||||||
renderer
|
// renderer
|
||||||
.render_partial_name(self, breadcrumbs)
|
// .render_partial_name(self, breadcrumbs)
|
||||||
.expect("TODO: Make into_context_element return a RenderError"),
|
// .expect("TODO: Make into_context_element return a RenderError"),
|
||||||
)
|
// )
|
||||||
// &OwnedLiteral::LPositiveInteger(1)
|
// TODO
|
||||||
|
&OwnedLiteral::LPositiveInteger(1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user