We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b48196 commit 0bfbd6fCopy full SHA for 0bfbd6f
css-inline/src/html/element.rs
@@ -93,6 +93,9 @@ impl<'a> Element<'a> {
93
}
94
95
96
+ // NOTE: For large documents, it is called in a hot loop.
97
+ #[allow(clippy::inline_always)]
98
+ #[inline(always)]
99
pub(crate) fn matches(&self, selector: &Selector, cache: &mut SelectorCaches) -> bool {
100
let mut context = matching::MatchingContext::new(
101
matching::MatchingMode::Normal,
0 commit comments