Fix the same issue in the renderer.

This commit is contained in:
Tom Alexander 2020-06-07 00:37:47 -04:00
parent 09d015346c
commit 4789a7d931
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -821,7 +821,7 @@ impl<'a> DustRenderer<'a> {
breadcrumbs: &'b Vec<BreadcrumbTreeElement<'b>>,
) -> Option<usize> {
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()
})
}
}