Fix the same issue in the renderer.
This commit is contained in:
parent
09d015346c
commit
4789a7d931
@ -821,7 +821,7 @@ impl<'a> DustRenderer<'a> {
|
|||||||
breadcrumbs: &'b Vec<BreadcrumbTreeElement<'b>>,
|
breadcrumbs: &'b Vec<BreadcrumbTreeElement<'b>>,
|
||||||
) -> Option<usize> {
|
) -> Option<usize> {
|
||||||
breadcrumbs.iter().rposition(|b| {
|
breadcrumbs.iter().rposition(|b| {
|
||||||
std::borrow::Borrow::<dyn IntoContextElement + 'b>::borrow(b).is_pseudo_element()
|
!std::borrow::Borrow::<dyn IntoContextElement + 'b>::borrow(b).is_pseudo_element()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user